]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
esx: Remove unused variable from esxDomainGetAutostart
authorMatthias Bolte <matthias.bolte@googlemail.com>
Sun, 9 Sep 2012 10:44:20 +0000 (12:44 +0200)
committerMatthias Bolte <matthias.bolte@googlemail.com>
Sun, 9 Sep 2012 10:44:20 +0000 (12:44 +0200)
src/esx/esx_driver.c

index 28e2c6569570583227945323189b0fa98dcdf781..991f03cea7d57edd045b6b720cddfa811a7528f3 100644 (file)
@@ -3363,7 +3363,6 @@ esxDomainGetAutostart(virDomainPtr domain, int *autostart)
     esxPrivate *priv = domain->conn->privateData;
     esxVI_AutoStartDefaults *defaults = NULL;
     esxVI_String *propertyNameList = NULL;
-    esxVI_ObjectContent *hostAutoStartManager = NULL;
     esxVI_AutoStartPowerInfo *powerInfo = NULL;
     esxVI_AutoStartPowerInfo *powerInfoList = NULL;
     esxVI_ObjectContent *virtualMachine = NULL;
@@ -3417,7 +3416,6 @@ esxDomainGetAutostart(virDomainPtr domain, int *autostart)
 
   cleanup:
     esxVI_String_Free(&propertyNameList);
-    esxVI_ObjectContent_Free(&hostAutoStartManager);
     esxVI_AutoStartDefaults_Free(&defaults);
     esxVI_AutoStartPowerInfo_Free(&powerInfoList);
     esxVI_ObjectContent_Free(&virtualMachine);