mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
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:
parent
56bb594532
commit
1cab62bfaf
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user