]> xenbits.xensource.com Git - libvirt.git/commit
Fix the recent CI build failures
authorErik Skultety <eskultet@redhat.com>
Tue, 5 Mar 2019 08:41:25 +0000 (09:41 +0100)
committerErik Skultety <eskultet@redhat.com>
Tue, 5 Mar 2019 09:07:28 +0000 (10:07 +0100)
commit26adfe75961c1e81ffd36611e478d9ae94ee12e8
tree77456b04e6ececd8deb971584dc8df8fd189b155
parent397369853d51951d25ee7f8236d656ae4672c818
Fix the recent CI build failures

After commits e2087c2 and ec0793de older GCC started act very smart and
complain about potentially uninitialized variable, which existed prior
to these patches + even if the affected vars were left uninitialized the
function responsible for filling them in would have failed with NULL
being returned which the caller has always handled carefully.
Although GCC complained only about a single variable, let's initialize
all of them so as to prevent any further potential breakages.

Signed-off-by: Erik Skultety <eskultet@redhat.com>
src/conf/domain_conf.c