On 10/14/2011 12:28 AM, Michal Privoznik wrote:
On 14.10.2011 00:08, Eric Blake wrote:
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.
---

ACK,

agree that if we reach cleanup label, there is no way for objectSpec
to be NULL.

Pushed.

--
Eric Blake   [email protected]    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to