]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virnetdev: fix some issues found by coverity and mingw builds
authorPavel Hrdina <phrdina@redhat.com>
Tue, 3 Feb 2015 10:20:40 +0000 (11:20 +0100)
committerPavel Hrdina <phrdina@redhat.com>
Tue, 3 Feb 2015 15:34:35 +0000 (16:34 +0100)
commit8bda90352848513b255f9a17ce734c4650acfa4d
treecf1a85e4b30dac523018d49da3adfc7184eb1e9f
parentb38da58423f44035e259e18a35853c16267ec83a
virnetdev: fix some issues found by coverity and mingw builds

Commit e562a61a introduced new function to get/set interface state but
there was misuse of ATTRIBUTE_NONNULL on non-pointer attributes and also
we need to wrap that functions by #ifdef to not break mingw build.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
src/util/virnetdev.c
src/util/virnetdev.h