[libvirt] [PATCH] qemu: Fix build error introduced in 653137eb957a278b556c6226424aad5395a

Martin Kletzander mkletzan at redhat.com
Wed Aug 20 10:48:00 UTC 2014


On Wed, Aug 20, 2014 at 11:57:24AM +0200, Peter Krempa wrote:
>The build failure is caused by a false positive of some static analysys

s/by/as/; s/analysys/analysis/

>steps done by gcc (that don't happen on -O0).

s/ on / with /.

Oh. you've already pushed that (I haven't seen any "pushed as
build-breaker", but only now tried to check the repo.

Never mind then.

>---
> src/qemu/qemu_driver.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c
>index c011151..801044b 100644
>--- a/src/qemu/qemu_driver.c
>+++ b/src/qemu/qemu_driver.c
>@@ -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;
>--
>2.0.2
>
>--
>libvir-list mailing list
>libvir-list at redhat.com
>https://www.redhat.com/mailman/listinfo/libvir-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140820/9efc866b/attachment-0001.sig>


More information about the libvir-list mailing list