[libvirt] [PATCH] esx: drop dead code to silence Coverity

Matthias Bolte matthias.bolte at googlemail.com
Fri Oct 14 09:27:21 UTC 2011


2011/10/14 Eric Blake <eblake at redhat.com>:
> 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.

Eric, I'll probably have a look at your pending ESX (and VBox?)
snapshot patches tomorrow.

-- 
Matthias Bolte
http://photron.blogspot.com




More information about the libvir-list mailing list