[libvirt] [PATCH v2] Resolve Coverity dead_error_begin

Eric Blake eblake at redhat.com
Fri Jan 31 18:02:47 UTC 2014


On 01/31/2014 10:59 AM, John Ferlan wrote:
> Coverity complains about default: label in libxl_driver.c not be able
> to be reached. It's by design for the code and since it's not necessary
> in the code nor does it elicit any compiler/make check warnings - just
> remove it rather than adding a coverity[dead_error_begin] tag.
> 
> While I'm at it, lxc_driver.c and nodeinfo.c have the same design, so I
> removed the default labels and the existing coverity tags.
> 
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
>  src/libxl/libxl_driver.c |  3 ---
>  src/lxc/lxc_driver.c     | 15 ---------------
>  src/nodeinfo.c           |  4 ----
>  3 files changed, 22 deletions(-)

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140131/6840c342/attachment-0001.sig>


More information about the libvir-list mailing list