From: Daniel P. Berrange Date: Thu, 21 Jul 2011 12:06:33 +0000 (+0100) Subject: Fix uninitialized variable in QEMU CPU bandwidth code X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=5e7d638ca0c35784ac2e2710f77836915af5d9f9;p=libvirt.git Fix uninitialized variable in QEMU CPU bandwidth code * src/qemu/qemu_driver.c: Fix uninitialized variable --- diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index 2b6e0385fe..f4b454224e 100644 --- a/src/qemu/qemu_driver.c +++ b/src/qemu/qemu_driver.c @@ -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 |