]> xenbits.xensource.com Git - libvirt.git/commit
Resolve Coverity CHECKED_RETURN
authorJohn Ferlan <jferlan@redhat.com>
Fri, 12 Sep 2014 12:16:07 +0000 (08:16 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Mon, 15 Sep 2014 14:44:27 +0000 (10:44 -0400)
commit07334ccbac01c277bb311ea2512cb44400052586
treee16763417984e90c77b99b82ad0f266721d14a43
parent0268a35db4e585f82668dfeacc2894302801178f
Resolve Coverity CHECKED_RETURN

Coverity complained that checking the return of virDomainCreate()
was not consistent amongst the callers - so added the return check
to the objecteventtest.c and adjust the virt-login-shell to compare
< 0 rather than just non zero for the failure condition.
tests/objecteventtest.c
tools/virt-login-shell.c