The 'nodes' var is not being used.

Signed-off-by: Daniel Henrique Barboza <danielhb...@gmail.com>
---
 src/qemu/qemu_capabilities.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c
index 38558a9ee0..2523a369d4 100644
--- a/src/qemu/qemu_capabilities.c
+++ b/src/qemu/qemu_capabilities.c
@@ -4240,7 +4240,6 @@ virQEMUCapsLoadCache(virArch hostArch,
 {
     g_autoptr(xmlDoc) doc = NULL;
     int ret = -1;
-    xmlNodePtr *nodes = NULL;
     g_autoptr(xmlXPathContext) ctxt = NULL;
     char *str = NULL;
     long long int l;
@@ -4388,7 +4387,6 @@ virQEMUCapsLoadCache(virArch hostArch,
     ret = 0;
  cleanup:
     VIR_FREE(str);
-    VIR_FREE(nodes);
     return ret;
 }
 
-- 
2.31.1

Reply via email to