From: John Ferlan Date: Fri, 8 Feb 2019 15:36:54 +0000 (-0500) Subject: test: Remove unused @xml from testDomainSnapshotCreateXML X-Git-Tag: v5.1.0-rc1~122 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba045165d4d5b093d26f953d9fc676ccd0470eb6;p=thirdparty%2Flibvirt.git test: Remove unused @xml from testDomainSnapshotCreateXML Commit 390c06b67 added @xml, but it was never used. Signed-off-by: John Ferlan Reviewed-by: Erik Skultety Reviewed-by: Ján Tomko --- diff --git a/src/test/test_driver.c b/src/test/test_driver.c index d46937b7f6..0adec0c56c 100644 --- a/src/test/test_driver.c +++ b/src/test/test_driver.c @@ -6337,7 +6337,6 @@ testDomainSnapshotCreateXML(virDomainPtr domain, virDomainSnapshotObjPtr snap = NULL; virDomainSnapshotPtr snapshot = NULL; virObjectEventPtr event = NULL; - char *xml = NULL; bool update_current = true; bool redefine = flags & VIR_DOMAIN_SNAPSHOT_CREATE_REDEFINE; unsigned int parse_flags = VIR_DOMAIN_SNAPSHOT_PARSE_DISKS; @@ -6422,7 +6421,6 @@ testDomainSnapshotCreateXML(virDomainPtr domain, snapshot = virGetDomainSnapshot(domain, snap->def->name); cleanup: - VIR_FREE(xml); if (vm) { if (snapshot) { virDomainSnapshotObjPtr other;