]> git.ipfire.org Git - thirdparty/libvirt.git/commit
cmdPoolDiscoverSources: initialize earlier to avoid FP from clang
authorJim Meyering <meyering@redhat.com>
Mon, 1 Mar 2010 14:41:15 +0000 (15:41 +0100)
committerJim Meyering <meyering@redhat.com>
Mon, 1 Mar 2010 15:29:33 +0000 (16:29 +0100)
commit364751578860289facf0dbc1f5e56f5f201f284c
tree838ec7b9984eab07e38c2ece0b9f57ffbb1a154f
parentbef10f9a058454ca90fc2eee7c4de182b836d5fd
cmdPoolDiscoverSources: initialize earlier to avoid FP from clang

* tools/virsh.c (cmdPoolDiscoverSources): Always initialize srcSpec.
Otherwise, clang would report that srcSpec could be used uninitialized
in the call to virConnectFindStoragePoolSources.
tools/virsh.c