]> 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>
Tue, 4 Oct 2016 05:45:43 +0000 (07:45 +0200)
commit2d02be4cf156149e992ef1712cfed5721d7c88a9
tree42848baa5638f369bf93aa492bacf2c209c69997
parentc2960353ba60014cc487b00e2230ff14dd4f4cbb
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>
(cherry picked from commit 3470cd860d517760b13e26d97b6a842ff72687a1)
src/lxc/lxc_driver.c
src/nwfilter/nwfilter_ebiptables_driver.c
src/util/virbitmap.c