cvs commit: src/sys/dev/ed if_ed.c
Luigi Rizzo
rizzo at icir.org
Thu Feb 10 23:50:28 GMT 2005
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
More information about the cvs-src
mailing list