Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Feb 2005 01:09:45 +0100
From:      Max Laier <max@love2party.net>
To:        Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?= <des@des.no>
Cc:        cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/dev/ed if_ed.c
Message-ID:  <200502110109.55898.max@love2party.net>
In-Reply-To: <86sm44nez7.fsf@xps.des.no>
References:  <200502102331.j1ANVRQP026186@repoman.freebsd.org> <86sm44nez7.fsf@xps.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On Friday 11 February 2005 00:59, Dag-Erling Smørgrav wrote:
> Warner Losh <imp@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@freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier@EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQBCC/fTXyyEoT62BG0RAtrmAJ9Qo4wTfyw1o6l9hR7f/l6VOvWoUwCfe2x9
y0OQO8jzRLBltOfMqAyMl6M=
=61/W
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502110109.55898.max>