[libvirt] [PATCH 2/5] virnetserverclient: Remove Coverity DEADCODE warning

Eric Blake eblake at redhat.com
Tue Dec 3 16:38:05 UTC 2013


On 12/03/2013 07:18 AM, John Ferlan wrote:
> The x509dname is only set inside a WITH_GNUTLS conditional, so
> when used/check later on for NULL, Coverity detects this is not
> possible.  Added WITH_GNUTLS around uses to remove message
> 
> Signed-off-by: John Ferlan <jferlan at redhat.com>
> ---
>  src/rpc/virnetserverclient.c | 6 ++++++
>  1 file changed, 6 insertions(+)

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: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20131203/53e8d404/attachment-0001.sig>


More information about the libvir-list mailing list