virsh: cmdCheckpointInfo: delete unused variables

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
Ján Tomko 2021-08-10 17:38:49 +02:00
parent 56bb594532
commit 1cab62bfaf

View File

@ -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);