]> git.ipfire.org Git - thirdparty/libvirt.git/commit
nwfilter: Clean up virNWFilterDetermineMissingVarsRec returns
authorJohn Ferlan <jferlan@redhat.com>
Fri, 29 Sep 2017 13:18:53 +0000 (09:18 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 4 Oct 2017 10:22:02 +0000 (06:22 -0400)
commitca3bef4cec4143109f295ba8517d85be30ac7fe5
tree65cb7c904b9f7e58f6cdf6d53a2e7ce3e1b43c08
parent3e581d150a28f5c8f577216220d19011c3bb7fbc
nwfilter: Clean up virNWFilterDetermineMissingVarsRec returns

Rather than using loop break;'s in order to force a return
of rc = -1, let's just return -1 immediately on the various
error paths and then return 0 on the success path.
src/nwfilter/nwfilter_gentech_driver.c