提交 83c58ea3 编写于 作者: J John Ferlan

qemu: Initialize 'data' argument

Initialize stack variable to {0}
Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
上级 466a53af
......@@ -10265,7 +10265,7 @@ qemuDomainGetSchedulerParametersFlags(virDomainPtr dom,
{
virQEMUDriverPtr driver = dom->conn->privateData;
virDomainObjPtr vm = NULL;
virDomainCputune data;
virDomainCputune data = {0};
int ret = -1;
bool cpu_bw_status = true;
virDomainDefPtr persistentDef;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册