提交 4db3fd74 编写于 作者: P Peter Krempa

xen: Actually fix the uninitialized variable

0eedb1d9 fixed the wrong variable
上级 0eedb1d9
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册