From owner-cvs-src@FreeBSD.ORG Thu Feb 10 23:50:28 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 82CE616A4CE; Thu, 10 Feb 2005 23:50:28 +0000 (GMT) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 26FED43D2D; Thu, 10 Feb 2005 23:50:28 +0000 (GMT) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.11/8.12.8) with ESMTP id j1ANoRcl049398; Thu, 10 Feb 2005 15:50:27 -0800 (PST) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.11/8.12.3/Submit) id j1ANoRoV049397; Thu, 10 Feb 2005 15:50:27 -0800 (PST) (envelope-from rizzo) Date: Thu, 10 Feb 2005 15:50:27 -0800 From: Luigi Rizzo To: Warner Losh Message-ID: <20050210155027.B49218@xorpc.icir.org> References: <200502102331.j1ANVRQP026186@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <200502102331.j1ANVRQP026186@repoman.freebsd.org>; from imp@FreeBSD.org on Thu, Feb 10, 2005 at 11:31:27PM +0000 cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/ed if_ed.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 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, 10 Feb 2005 23:50:28 -0000 hm... it would have sufficed (and more obvious) to just put an empty statement without the 'continue' ? while (complicated-expr) ; cheers luigi On Thu, Feb 10, 2005 at 11:31:27PM +0000, Warner Losh wrote: > imp 2005-02-10 23:31:27 UTC > > FreeBSD src repository > > Modified files: > sys/dev/ed if_ed.c > Log: > use > while (complicated-expr) > continune; > in preference to > while (complicated-expr); > > since the code generated is identical, and the former is easier to read, > especially for complicated-expr that reach to the end of the line... > > Revision Changes Path > 1.245 +8 -3 src/sys/dev/ed/if_ed.c