From 1cab62bfaf0a3fb08bf597e8df9dde7d1c2a245c Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A1n=20Tomko?= Date: Tue, 10 Aug 2021 17:38:49 +0200 Subject: [PATCH] virsh: cmdCheckpointInfo: delete unused variables MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Ján Tomko Reviewed-by: Peter Krempa --- tools/virsh-checkpoint.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tools/virsh-checkpoint.c b/tools/virsh-checkpoint.c index 2b89f376c9..9e942a226b 100644 --- a/tools/virsh-checkpoint.c +++ b/tools/virsh-checkpoint.c @@ -478,8 +478,6 @@ cmdCheckpointInfo(vshControl *ctl, virDomainCheckpointPtr checkpoint = NULL; const char *name; char *parent = NULL; - xmlDocPtr xmldoc = NULL; - xmlXPathContextPtr ctxt = NULL; bool ret = false; int count; unsigned int flags; @@ -522,8 +520,6 @@ cmdCheckpointInfo(vshControl *ctl, ret = true; cleanup: - xmlXPathFreeContext(ctxt); - xmlFreeDoc(xmldoc); VIR_FREE(parent); virshDomainCheckpointFree(checkpoint); virshDomainFree(dom); -- 2.47.2