Date: Thu, 10 Feb 2005 15:50:27 -0800 From: Luigi Rizzo <rizzo@icir.org> To: Warner Losh <imp@FreeBSD.org> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/ed if_ed.c Message-ID: <20050210155027.B49218@xorpc.icir.org> In-Reply-To: <200502102331.j1ANVRQP026186@repoman.freebsd.org>; from imp@FreeBSD.org on Thu, Feb 10, 2005 at 11:31:27PM %2B0000 References: <200502102331.j1ANVRQP026186@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050210155027.B49218>