From 89120dddbee6fc98792777c6435cb12d3be8832d Mon Sep 17 00:00:00 2001 From: Daniel Henrique Barboza Date: Thu, 18 Nov 2021 15:29:38 -0300 Subject: [PATCH] qemu_capabilities.c: del 'nodes' var from virQEMUCapsLoadCache() The 'nodes' var is not being used. Signed-off-by: Daniel Henrique Barboza --- 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 4e347e6e38..4329a880d9 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; }