]> xenbits.xensource.com Git - libvirt.git/commitdiff
build: avoid warning about unused variables
authorJim Meyering <meyering@redhat.com>
Thu, 25 Feb 2010 13:19:33 +0000 (14:19 +0100)
committerJim Meyering <meyering@redhat.com>
Thu, 25 Feb 2010 13:19:33 +0000 (14:19 +0100)
* tools/virsh.c (cmdCPUBaseline): Remove declarations of unused
variables, p and cur.

tools/virsh.c

index 5fdbbe51d0ad706f4151299c3873e074be08e5b8..89eefcfdf3ace697f80c78261f6dc74635b41f1c 100644 (file)
@@ -7048,12 +7048,11 @@ cmdCPUBaseline(vshControl *ctl, const vshCmd *cmd)
     int found;
     int ret = TRUE;
     char *buffer;
-    char *p;
     char *result = NULL;
     const char **list = NULL;
     unsigned int count = 0;
     xmlDocPtr doc = NULL;
-    xmlNodePtr node_list, cur;
+    xmlNodePtr node_list;
     xmlXPathContextPtr ctxt = NULL;
     xmlSaveCtxtPtr sctxt = NULL;
     xmlBufferPtr buf = NULL;