]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Fix build with picky GCC
authorPeter Krempa <pkrempa@redhat.com>
Thu, 25 Aug 2016 22:40:09 +0000 (18:40 -0400)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 26 Aug 2016 15:32:38 +0000 (11:32 -0400)
commit9cf086be6d916c52035a0ee89f3f0f020e9fee1f
tree50ac80968e92cdded0d40ab3f618336bbaee39cc
parent802fac97ec8c8bd5438ec5bcd4d13edb03b00fc2
conf: Fix build with picky GCC

../../src/conf/domain_conf.c:4425:21: error: potential null pointer dereference [-Werror=null-dereference]
         switch (vcpu->hotpluggable) {
                 ~~~~^~~~~~~~~~~~~~
src/conf/domain_conf.c