From owner-cvs-all Thu Mar 7 6:18:53 2002 Delivered-To: cvs-all@freebsd.org Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by hub.freebsd.org (Postfix) with ESMTP id 6F58137B400; Thu, 7 Mar 2002 06:18:36 -0800 (PST) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id BAA24073; Fri, 8 Mar 2002 01:18:33 +1100 Date: Fri, 8 Mar 2002 01:19:34 +1100 (EST) From: Bruce Evans X-X-Sender: To: "Jacques A. Vidrine" Cc: Mike Barcroft , "David O'Brien" , Mark Murray , , Subject: Re: cvs commit: src/usr.bin/rwall rwall.c In-Reply-To: <20020307131936.GH36653@hellblazer.nectar.cc> Message-ID: <20020308011714.D1004-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 7 Mar 2002, Jacques A. Vidrine wrote: > On Thu, Mar 07, 2002 at 06:09:20AM -0500, Mike Barcroft wrote: > > I thought the point of (void) was to quiet lint(1). > > I like it especially in the case, as it means ``yes, I _meant_ to ignore > the result'' --- the author of this code is intentionally ignoring > truncation issues. > > OTOH, if the author added it just to quiet lint, it is a bit misleading. The point of it is to quiet all types of lints, including walking ones. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message