qemu: Initialize 'data' argument

Initialize stack variable to {0}

Signed-off-by: John Ferlan <jferlan@redhat.com>
(cherry picked from commit 83c58ea396)
This commit is contained in:
John Ferlan 2017-04-03 12:53:32 -04:00 committed by Cole Robinson
parent 975fb26272
commit 8eeeb7651f

View File

@ -10271,7 +10271,7 @@ qemuDomainGetSchedulerParametersFlags(virDomainPtr dom,
{ {
virQEMUDriverPtr driver = dom->conn->privateData; virQEMUDriverPtr driver = dom->conn->privateData;
virDomainObjPtr vm = NULL; virDomainObjPtr vm = NULL;
virDomainCputune data; virDomainCputune data = {0};
int ret = -1; int ret = -1;
bool cpu_bw_status = true; bool cpu_bw_status = true;
virDomainDefPtr persistentDef; virDomainDefPtr persistentDef;