Giving in to Coverity (was: cvs commit:
	src/sys/netgraph/bluetooth/l2cap ng_l2cap_cmds.c)
    Greg 'groggy' Lehey 
    grog at FreeBSD.org
       
    Thu Mar 29 01:50:08 UTC 2007
    
    
  
On Wednesday, 28 March 2007 at 21:25:56 +0000, Maksim Yevmenkin wrote:
> emax        2007-03-28 21:25:56 UTC
>
>   FreeBSD src repository
>
>   Modified files:
>     sys/netgraph/bluetooth/l2cap ng_l2cap_cmds.c
>   Log:
>   Try to silence Coverity by adding (void) in front of function call.
>   Also add a comment, explaining why return value is not being checked.
I hope Coverity isn't going to force us to add unnecessary casts to
function calls.
Greg
--
See complete headers for address and phone numbers.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20070329/0b9b32c1/attachment.pgp
    
    
More information about the cvs-all
mailing list