mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
conf: Drop unused variable
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>
This commit is contained in:
parent
f9c38c723a
commit
9cc92b1db9
@ -849,7 +849,6 @@ virStoragePoolDefParseXML(xmlXPathContextPtr ctxt)
|
|||||||
VIR_AUTOFREE(char *) type = NULL;
|
VIR_AUTOFREE(char *) type = NULL;
|
||||||
VIR_AUTOFREE(char *) uuid = NULL;
|
VIR_AUTOFREE(char *) uuid = NULL;
|
||||||
VIR_AUTOFREE(char *) target_path = NULL;
|
VIR_AUTOFREE(char *) target_path = NULL;
|
||||||
VIR_AUTOFREE(char *) refresh_volume_allocation = NULL;
|
|
||||||
|
|
||||||
if (VIR_ALLOC(def) < 0)
|
if (VIR_ALLOC(def) < 0)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user