cvs commit: src/sys/dev/ed if_ed.c

Max Laier max at love2party.net
Fri Feb 11 00:09:59 GMT 2005


On Friday 11 February 2005 00:59, Dag-Erling Smørgrav wrote:
> Warner Losh <imp at FreeBSD.org> writes:
> >   Log:
> >   use
> >           while (complicated-expr)
> >                   continune;
> >   in preference to
> >           while (complicated-expr);
>
> As a matter of taste, I prefer /* nothing */ to continue in cases like
> this.

That's what style.9 suggests, btw:
|             for (p = buf; *p != '\0'; ++p)
|                     ;       /* nothing */

-- 
/"\  Best regards,                      | mlaier at freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier at EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20050211/f792c473/attachment.bin


More information about the cvs-src mailing list