]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Silent bogus warning about unitialized variable
authorJiri Denemark <jdenemar@redhat.com>
Wed, 1 Feb 2012 15:10:46 +0000 (16:10 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Wed, 1 Feb 2012 15:13:25 +0000 (16:13 +0100)
commit1d7086c2ed2910ccc6cabd5eee695dd82c8c4cae
tree2afd874839e8ff796d134703c5e95eb6bfb7c10e
parentd7320e799f294fffdbccff87ac8e6d2d0fbcc41d
qemu: Silent bogus warning about unitialized variable

GCC complaints about uninitialized use of len, which however is only
used when errors != NULL and in that case len is always initialized.
It's trivial to silence this by always initializing len.
daemon/remote.c