]> xenbits.xensource.com Git - libvirt.git/commit
util: eliminate superfluous saveVlan check in virNetDevSetNetConfig()
authorLaine Stump <laine@laine.org>
Sun, 13 Aug 2017 15:32:31 +0000 (11:32 -0400)
committerLaine Stump <laine@laine.org>
Mon, 14 Aug 2017 03:07:13 +0000 (23:07 -0400)
commitf5bc8b54363233ae42a50094faef4f703e46cd28
tree06d8543f31fed52c69f45ccb656c1d0e9c153f4e
parent83074cc917615c8c2c9e147cbd6918812330fd0d
util: eliminate superfluous saveVlan check in virNetDevSetNetConfig()

Commit 81fb440b further qualified an if statement by adding the
boolean saveVlan to the condition. Coverity pointed out that this
change in the logic eliminated the need to check saveVlan in an
argument to virAsprintf().
src/util/virnetdev.c