提交 a7c6ce0d 编写于 作者: D Daniel P. Berrange

Fix use of uninitialized variable in QEMU driver

上级 9b6bb0fe
......@@ -3407,6 +3407,7 @@ qemuBuildNumaCPUArgStr(char *cpumask, virBufferPtr buf)
int i, first, last;
int cpuSet = 0;
first = last = 0;
for (i = 0; i < VIR_DOMAIN_CPUMASK_LEN; i++) {
if (cpumask[i]) {
if (cpuSet) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册