Giving in to Coverity (was: cvs commit:
src/sys/netgraph/bluetooth/l2cap ng_l2cap_cmds.c)
Andrew Thompson
thompsa at freebsd.org
Thu Mar 29 01:52:14 UTC 2007
On Thu, Mar 29, 2007 at 10:58:34AM +0930, Greg 'groggy' Lehey wrote:
> 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.
Well no, you can always silence Coverity by just marking it as a false
bug.
Andrew
More information about the cvs-src
mailing list