]> xenbits.xensource.com Git - libvirt.git/commit
esx: drop dead code to silence Coverity
authorEric Blake <eblake@redhat.com>
Thu, 13 Oct 2011 22:06:38 +0000 (16:06 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 14 Oct 2011 14:51:26 +0000 (08:51 -0600)
commit1518042bf339fed6897372255bcbbefdbdcd165a
tree2ae1056646d3178992e67ac5cd0647a99162d822
parent57d91fca64123abb133d41cf30a94fd60750ebcd
esx: drop dead code to silence Coverity

Coverity detected that the only way to get to the cleanup label
is if objectSpec had been successfully allocated, so the null
check was dead code.

* src/esx/esx_vi.c (esxVI_LookupObjectContentByType): Drop
redundant null check.
src/esx/esx_vi.c