mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-27 08:05:24 +00:00
esx: Remove unused variable from esxDomainGetAutostart
This commit is contained in:
parent
7038322991
commit
aa7c4068a8
@ -3363,7 +3363,6 @@ esxDomainGetAutostart(virDomainPtr domain, int *autostart)
|
|||||||
esxPrivate *priv = domain->conn->privateData;
|
esxPrivate *priv = domain->conn->privateData;
|
||||||
esxVI_AutoStartDefaults *defaults = NULL;
|
esxVI_AutoStartDefaults *defaults = NULL;
|
||||||
esxVI_String *propertyNameList = NULL;
|
esxVI_String *propertyNameList = NULL;
|
||||||
esxVI_ObjectContent *hostAutoStartManager = NULL;
|
|
||||||
esxVI_AutoStartPowerInfo *powerInfo = NULL;
|
esxVI_AutoStartPowerInfo *powerInfo = NULL;
|
||||||
esxVI_AutoStartPowerInfo *powerInfoList = NULL;
|
esxVI_AutoStartPowerInfo *powerInfoList = NULL;
|
||||||
esxVI_ObjectContent *virtualMachine = NULL;
|
esxVI_ObjectContent *virtualMachine = NULL;
|
||||||
@ -3417,7 +3416,6 @@ esxDomainGetAutostart(virDomainPtr domain, int *autostart)
|
|||||||
|
|
||||||
cleanup:
|
cleanup:
|
||||||
esxVI_String_Free(&propertyNameList);
|
esxVI_String_Free(&propertyNameList);
|
||||||
esxVI_ObjectContent_Free(&hostAutoStartManager);
|
|
||||||
esxVI_AutoStartDefaults_Free(&defaults);
|
esxVI_AutoStartDefaults_Free(&defaults);
|
||||||
esxVI_AutoStartPowerInfo_Free(&powerInfoList);
|
esxVI_AutoStartPowerInfo_Free(&powerInfoList);
|
||||||
esxVI_ObjectContent_Free(&virtualMachine);
|
esxVI_ObjectContent_Free(&virtualMachine);
|
||||||
|
Loading…
Reference in New Issue
Block a user