]> xenbits.xensource.com Git - libvirt.git/commitdiff
conf: Drop unused variable
authorAndrea Bolognani <abologna@redhat.com>
Tue, 19 Mar 2019 16:29:18 +0000 (17:29 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Tue, 19 Mar 2019 16:31:37 +0000 (17:31 +0100)
The refresh_volume_allocation variable in
virStoragePoolDefParseXML() has been unused since its
introduction in commit 669018bc9cb1, and Clang rightfully
complains about this fact.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
src/conf/storage_conf.c

index 653602f7be54f9568847babbda4ece2b00422a9a..b797a405f7e28f6fbe34087924134eff2230c676 100644 (file)
@@ -849,7 +849,6 @@ virStoragePoolDefParseXML(xmlXPathContextPtr ctxt)
     VIR_AUTOFREE(char *) type = NULL;
     VIR_AUTOFREE(char *) uuid = NULL;
     VIR_AUTOFREE(char *) target_path = NULL;
-    VIR_AUTOFREE(char *) refresh_volume_allocation = NULL;
 
     if (VIR_ALLOC(def) < 0)
         return NULL;