mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
xen: Actually fix the uninitialized variable
0eedb1d9bff672b24d6957dfaa0a8b42d9e851a7 fixed the wrong variable
This commit is contained in:
parent
0eedb1d9bf
commit
4db3fd7489
@ -1113,9 +1113,9 @@ sexpr_to_xend_topology(const struct sexpr *root,
|
||||
const char *nodeToCpu;
|
||||
const char *cur;
|
||||
virCapsHostNUMACellCPUPtr cpuInfo = NULL;
|
||||
int cell, cpu, nb_cpus;
|
||||
int cell, cpu, nb_cpus = 0;
|
||||
int n = 0;
|
||||
int numCpus = 0;
|
||||
int numCpus;
|
||||
|
||||
nodeToCpu = sexpr_node(root, "node/node_to_cpu");
|
||||
if (nodeToCpu == NULL)
|
||||
|
Loading…
x
Reference in New Issue
Block a user