qemu: Fix build error introduced in 653137eb95

The build failure is caused by a false positive of some static analysys
steps done by gcc (that don't happen on -O0).
This commit is contained in:
Peter Krempa 2014-08-20 11:52:33 +02:00
parent 653137eb95
commit e2f14211cf

View File

@ -15807,7 +15807,7 @@ qemuDomainSetBlockIoTune(virDomainPtr dom,
int ret = -1;
size_t i;
int idx = -1;
int conf_idx;
int conf_idx = -1;
bool set_bytes = false;
bool set_iops = false;
virQEMUDriverConfigPtr cfg = NULL;