]> 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>
Mon, 3 Oct 2016 16:10:09 +0000 (18:10 +0200)
commit5f71b6ed149dd4b9c8cfdbd124273d503f4d1432
treed90425db5a6424750a7a6c7502c263d258299dff
parent7ed7246b4cefbbc7601a83c1266ebbf63d81c1c3
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