[libvirt] [PATCH 3/6] xenapi: Resolve Coverity NO_EFFECT

Peter Krempa pkrempa at redhat.com
Wed Mar 11 06:34:49 UTC 2015


On Tue, Mar 10, 2015 at 19:20:26 -0400, John Ferlan wrote:
> Coverity points out that check (def->uuid) has no effect since it's not
> a pointer, rather an array of characters.   Just remove the extranous check.
> 
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
>  src/xenapi/xenapi_utils.c | 8 +++-----
>  1 file changed, 3 insertions(+), 5 deletions(-)

ACK,

Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150311/28bde280/attachment-0001.sig>


More information about the libvir-list mailing list