From owner-cvs-src@FreeBSD.ORG Thu Mar 29 01:50:08 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B2F3E16A402; Thu, 29 Mar 2007 01:50:08 +0000 (UTC) (envelope-from grog@lemis.com) Received: from ozlabs.org (ozlabs.org [203.10.76.45]) by mx1.freebsd.org (Postfix) with ESMTP id 7070F13C480; Thu, 29 Mar 2007 01:50:08 +0000 (UTC) (envelope-from grog@lemis.com) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.135]) by ozlabs.org (Postfix) with ESMTP id 30B96DDEE0; Thu, 29 Mar 2007 11:28:35 +1000 (EST) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 00B301A9C96; Thu, 29 Mar 2007 10:58:35 +0930 (CST) Date: Thu, 29 Mar 2007 10:58:34 +0930 From: Greg 'groggy' Lehey To: Maksim Yevmenkin Message-ID: <20070329012834.GC79742@wantadilla.lemis.com> References: <200703282125.l2SLPuR9058727@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TiqCXmo5T1hvSQQg" Content-Disposition: inline In-Reply-To: <200703282125.l2SLPuR9058727@repoman.freebsd.org> User-Agent: Mutt/1.4.2.1i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 VoIP: sip:0871270137@sip.internode.on.net WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 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) X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Mar 2007 01:50:08 -0000 --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--