From: Yi Li Date: Thu, 11 Jun 2020 03:26:29 +0000 (+0800) Subject: conf: snapshot: Drop unused variable 'creation' X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=414aee194aed23370df87f5cde28dce1d1492235;p=libvirt.git conf: snapshot: Drop unused variable 'creation' Signed-off-by: Yi Li Reviewed-by: Erik Skultety --- diff --git a/src/conf/snapshot_conf.c b/src/conf/snapshot_conf.c index 857d04c476..f73eeb06c7 100644 --- a/src/conf/snapshot_conf.c +++ b/src/conf/snapshot_conf.c @@ -231,7 +231,7 @@ virDomainSnapshotDefParse(xmlXPathContextPtr ctxt, xmlNodePtr inactiveDomNode = NULL; size_t i; int n; - char *creation = NULL, *state = NULL; + char *state = NULL; int active; char *tmp; char *memorySnapshot = NULL; @@ -404,7 +404,6 @@ virDomainSnapshotDefParse(xmlXPathContextPtr ctxt, ret = g_steal_pointer(&def); cleanup: - VIR_FREE(creation); VIR_FREE(state); VIR_FREE(nodes); VIR_FREE(memorySnapshot);