1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-20 07:59:00 +00:00

qemu_capabilities.c: del 'nodes' var from virQEMUCapsLoadCache()

The 'nodes' var is not being used.

Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
This commit is contained in:
Daniel Henrique Barboza 2021-11-18 15:29:38 -03:00
parent a0eafbf250
commit 89120dddbe

View File

@ -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;
}