]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh.c: Fix compiler warning
authorCole Robinson <crobinso@redhat.com>
Sat, 11 Aug 2012 19:00:46 +0000 (15:00 -0400)
committerCole Robinson <crobinso@redhat.com>
Mon, 13 Aug 2012 19:33:44 +0000 (15:33 -0400)
commite7d1bdfbd20987a6f2bdeec4b1bc4e38ce24b64d
tree3df52ba1b4e2dc9c82dfa59d9c928c0bc9b33197
parent7e6f80107c41e2baf1353f45312925006df24162
virsh.c: Fix compiler warning

For some reason I only get this after applying subsequent upcoming
patches that touch virsh, but don't seem to actually cause the warning.

virsh.c: In function ‘vshCommandParse’:
virsh.c:2014:46: error: ‘opt_index’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
cc1: all warnings being treated as errors
tools/virsh.c