mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
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:
parent
975fb26272
commit
8eeeb7651f
@ -10271,7 +10271,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;
|
||||
|
Loading…
Reference in New Issue
Block a user