]> git.ipfire.org Git - thirdparty/libvirt.git/commit
test: ensure nerrors variable is initialized
authorDaniel P. Berrangé <berrange@redhat.com>
Thu, 4 Jul 2019 13:20:35 +0000 (14:20 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Thu, 4 Jul 2019 13:20:35 +0000 (14:20 +0100)
commit80b71b2c85ca5501bfd42ca17c51c5cfdb8190fc
treecf317981c51ecdb168aa27f644a7faa6c9d9b8d1
parent613c8eeaa23f5896707da8357b1e81a726ccd589
test: ensure nerrors variable is initialized

There is an error path that jumps over the initialization of
nerrors, and the jump target reads the variable contents.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
src/test/test_driver.c