[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



2011/10/14 Eric Blake <eblake 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]