]> xenbits.xensource.com Git - libvirt.git/commit
hellolibvirt: Resolve Coverity issues
authorJohn Ferlan <jferlan@redhat.com>
Thu, 11 Jul 2013 11:19:37 +0000 (07:19 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 11 Jul 2013 18:18:11 +0000 (14:18 -0400)
commit0776809659ea014f325e862fe441b5a43be3de9e
tree4b4eb2bd91933ccb13e15635fc662030842d6c88
parent7961ad21077684d758fe32baa09bac5316840ea7
hellolibvirt: Resolve Coverity issues

Recent changes uncovered a NEGATIVE_RETURNS when processing 'numNames'
in 'showDomains' in the for loop after a possible -1 return.
examples/hellolibvirt/hellolibvirt.c