mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-10-22 14:09:22 +00:00
build: avoid warning about unused variables
* tools/virsh.c (cmdCPUBaseline): Remove declarations of unused variables, p and cur.
This commit is contained in:
parent
a79fb1c491
commit
8ddff3e6cd
@ -7048,12 +7048,11 @@ cmdCPUBaseline(vshControl *ctl, const vshCmd *cmd)
|
|||||||
int found;
|
int found;
|
||||||
int ret = TRUE;
|
int ret = TRUE;
|
||||||
char *buffer;
|
char *buffer;
|
||||||
char *p;
|
|
||||||
char *result = NULL;
|
char *result = NULL;
|
||||||
const char **list = NULL;
|
const char **list = NULL;
|
||||||
unsigned int count = 0;
|
unsigned int count = 0;
|
||||||
xmlDocPtr doc = NULL;
|
xmlDocPtr doc = NULL;
|
||||||
xmlNodePtr node_list, cur;
|
xmlNodePtr node_list;
|
||||||
xmlXPathContextPtr ctxt = NULL;
|
xmlXPathContextPtr ctxt = NULL;
|
||||||
xmlSaveCtxtPtr sctxt = NULL;
|
xmlSaveCtxtPtr sctxt = NULL;
|
||||||
xmlBufferPtr buf = NULL;
|
xmlBufferPtr buf = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user