]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix building with -Og
authorMartin Kletzander <mkletzan@redhat.com>
Fri, 3 Jun 2016 11:26:30 +0000 (13:26 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Fri, 3 Jun 2016 11:26:30 +0000 (13:26 +0200)
commit3470cd860d517760b13e26d97b6a842ff72687a1
tree89b0d909a8a3c231d12c30135b5ba7fddf95d6f1
parent5a72397ee12c82b7848cd736866538fa34c4a853
Fix building with -Og

When building using -Og, gcc sees that some variables can be used
uninitialized  It can be debatable whether it is possible with our
codeflow, but functions should be self-contained and initializations are
always good.  The return instead of goto is due to actualType being used
in the cleanup.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
src/lxc/lxc_driver.c
src/nwfilter/nwfilter_ebiptables_driver.c
src/util/virbitmap.c