[PATCH v2 3/8] qemu_capabilities.c: del 'nodes' var from virQEMUCapsLoadCache()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The 'nodes' var is not being used.

Signed-off-by: Daniel Henrique Barboza <danielhb413@xxxxxxxxx>
---
 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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux