提交 2bd4a172 编写于 作者: J Ján Tomko

Indent top-level labels by one space in src/esx/

上级 dc7238f5
...@@ -4163,7 +4163,7 @@ esxDomainIsPersistent(virDomainPtr domain) ...@@ -4163,7 +4163,7 @@ esxDomainIsPersistent(virDomainPtr domain)
result = 1; result = 1;
cleanup: cleanup:
esxVI_ObjectContent_Free(&virtualMachine); esxVI_ObjectContent_Free(&virtualMachine);
return result; return result;
...@@ -4190,7 +4190,7 @@ esxDomainIsUpdated(virDomainPtr domain ATTRIBUTE_UNUSED) ...@@ -4190,7 +4190,7 @@ esxDomainIsUpdated(virDomainPtr domain ATTRIBUTE_UNUSED)
result = 0; result = 0;
cleanup: cleanup:
esxVI_ObjectContent_Free(&virtualMachine); esxVI_ObjectContent_Free(&virtualMachine);
return result; return result;
...@@ -4460,7 +4460,7 @@ esxDomainSnapshotNumChildren(virDomainSnapshotPtr snapshot, unsigned int flags) ...@@ -4460,7 +4460,7 @@ esxDomainSnapshotNumChildren(virDomainSnapshotPtr snapshot, unsigned int flags)
count = esxVI_GetNumberOfSnapshotTrees(snapshotTree->childSnapshotList, count = esxVI_GetNumberOfSnapshotTrees(snapshotTree->childSnapshotList,
recurse, leaves); recurse, leaves);
cleanup: cleanup:
esxVI_VirtualMachineSnapshotTree_Free(&rootSnapshotTreeList); esxVI_VirtualMachineSnapshotTree_Free(&rootSnapshotTreeList);
return count; return count;
...@@ -4517,7 +4517,7 @@ esxDomainSnapshotListChildrenNames(virDomainSnapshotPtr snapshot, ...@@ -4517,7 +4517,7 @@ esxDomainSnapshotListChildrenNames(virDomainSnapshotPtr snapshot,
result = esxVI_GetSnapshotTreeNames(snapshotTree->childSnapshotList, result = esxVI_GetSnapshotTreeNames(snapshotTree->childSnapshotList,
names, nameslen, recurse, leaves); names, nameslen, recurse, leaves);
cleanup: cleanup:
esxVI_VirtualMachineSnapshotTree_Free(&rootSnapshotTreeList); esxVI_VirtualMachineSnapshotTree_Free(&rootSnapshotTreeList);
return result; return result;
...@@ -4618,7 +4618,7 @@ esxDomainSnapshotGetParent(virDomainSnapshotPtr snapshot, unsigned int flags) ...@@ -4618,7 +4618,7 @@ esxDomainSnapshotGetParent(virDomainSnapshotPtr snapshot, unsigned int flags)
parent = virGetDomainSnapshot(snapshot->domain, snapshotTreeParent->name); parent = virGetDomainSnapshot(snapshot->domain, snapshotTreeParent->name);
cleanup: cleanup:
esxVI_VirtualMachineSnapshotTree_Free(&rootSnapshotList); esxVI_VirtualMachineSnapshotTree_Free(&rootSnapshotList);
return parent; return parent;
...@@ -4685,7 +4685,7 @@ esxDomainSnapshotIsCurrent(virDomainSnapshotPtr snapshot, unsigned int flags) ...@@ -4685,7 +4685,7 @@ esxDomainSnapshotIsCurrent(virDomainSnapshotPtr snapshot, unsigned int flags)
ret = STREQ(snapshot->name, currentSnapshotTree->name); ret = STREQ(snapshot->name, currentSnapshotTree->name);
cleanup: cleanup:
esxVI_VirtualMachineSnapshotTree_Free(&currentSnapshotTree); esxVI_VirtualMachineSnapshotTree_Free(&currentSnapshotTree);
esxVI_VirtualMachineSnapshotTree_Free(&rootSnapshotList); esxVI_VirtualMachineSnapshotTree_Free(&rootSnapshotList);
return ret; return ret;
...@@ -4717,7 +4717,7 @@ esxDomainSnapshotHasMetadata(virDomainSnapshotPtr snapshot, unsigned int flags) ...@@ -4717,7 +4717,7 @@ esxDomainSnapshotHasMetadata(virDomainSnapshotPtr snapshot, unsigned int flags)
ret = 0; ret = 0;
cleanup: cleanup:
esxVI_VirtualMachineSnapshotTree_Free(&rootSnapshotList); esxVI_VirtualMachineSnapshotTree_Free(&rootSnapshotList);
return ret; return ret;
} }
...@@ -5168,7 +5168,7 @@ esxConnectListAllDomains(virConnectPtr conn, ...@@ -5168,7 +5168,7 @@ esxConnectListAllDomains(virConnectPtr conn,
doms = NULL; doms = NULL;
ret = count; ret = count;
cleanup: cleanup:
if (doms) { if (doms) {
for (id = 0; id < count; id++) { for (id = 0; id < count; id++) {
virDomainFree(doms[id]); virDomainFree(doms[id]);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册