[libvirt] [PATCH] conf: Remove unnecessary declaration in virDomainCheckpointDefParse

John Ferlan posted 1 patch 4 years, 9 months ago
Test syntax-check passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20190728132150.3213-1-jferlan@redhat.com
src/conf/checkpoint_conf.c | 1 -
1 file changed, 1 deletion(-)
[libvirt] [PATCH] conf: Remove unnecessary declaration in virDomainCheckpointDefParse
Posted by John Ferlan 4 years, 9 months ago
The @creation variable wasn't used - caused a Travis build failure.

Signed-off-by: John Ferlan <jferlan@redhat.com>
---

 Pushing under the trivial and build break rules.

 src/conf/checkpoint_conf.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/conf/checkpoint_conf.c b/src/conf/checkpoint_conf.c
index 30c6d2e717..5f4c275dd8 100644
--- a/src/conf/checkpoint_conf.c
+++ b/src/conf/checkpoint_conf.c
@@ -133,7 +133,6 @@ virDomainCheckpointDefParse(xmlXPathContextPtr ctxt,
     int n;
     char *tmp;
     VIR_AUTOFREE(xmlNodePtr *) nodes = NULL;
-    VIR_AUTOFREE(char *)creation = NULL;
     VIR_AUTOUNREF(virDomainCheckpointDefPtr) def = NULL;
 
     if (!(def = virDomainCheckpointDefNew()))
-- 
2.20.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list