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

Fix uninitialized variable in QEMU CPU bandwidth code

* src/qemu/qemu_driver.c: Fix uninitialized variable
上级 d6fa4967
......@@ -6203,7 +6203,7 @@ qemuGetSchedulerParametersFlags(virDomainPtr dom,
int ret = -1;
int rc;
bool isActive;
bool cpu_bw_status;
bool cpu_bw_status = false;
int saved_nparams = 0;
virCheckFlags(VIR_DOMAIN_AFFECT_LIVE |
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册