]> git.ipfire.org Git - thirdparty/libvirt.git/commit
bhyve: fix bhyvexml2argvtest build with gcc
authorRoman Bogorodskiy <bogorodskiy@gmail.com>
Sat, 9 May 2015 15:10:50 +0000 (18:10 +0300)
committerRoman Bogorodskiy <bogorodskiy@gmail.com>
Mon, 11 May 2015 17:08:47 +0000 (20:08 +0300)
commit846cc14c4d38169936a7165c4a4cb77b84d53bf6
treea79f369daf155bf39a1206184398e1ef9423eeac
parentc49b9032a212538ff28786d1b9922ebf549ea5ca
bhyve: fix bhyvexml2argvtest build with gcc

gcc5 reports an error like this:

bhyvexml2argvtest.c: In function 'testCompareXMLToArgvFiles':
bhyvexml2argvtest.c:24:18: error: variable 'vm' set but not used
[-Werror=unused-but-set-variable]
     virDomainObj vm;
                  ^
cc1: all warnings being treated as errors

Fix by dropping this variable.
tests/bhyvexml2argvtest.c