Date: Thu, 29 Mar 2007 10:58:34 +0930 From: Greg 'groggy' Lehey <grog@FreeBSD.org> To: Maksim Yevmenkin <emax@FreeBSD.org> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Giving in to Coverity (was: cvs commit: src/sys/netgraph/bluetooth/l2cap ng_l2cap_cmds.c) Message-ID: <20070329012834.GC79742@wantadilla.lemis.com> In-Reply-To: <200703282125.l2SLPuR9058727@repoman.freebsd.org> References: <200703282125.l2SLPuR9058727@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--TiqCXmo5T1hvSQQg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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. --TiqCXmo5T1hvSQQg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFGCxZCIubykFB6QiMRAoElAKCpJOFVesWJm3R203Jte/g3jLK62gCfW964 0lealwZqyWdvZyiWJ9Tx5bM= =5Ym5 -----END PGP SIGNATURE----- --TiqCXmo5T1hvSQQg--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070329012834.GC79742>