Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Feb 2005 17:30:03 -0700 (MST)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        des@des.no
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/ed if_ed.c
Message-ID:  <20050210.173003.37239701.imp@bsdimp.com>
In-Reply-To: <86sm44nez7.fsf@xps.des.no>
References:  <200502102331.j1ANVRQP026186@repoman.freebsd.org> <86sm44nez7.fsf@xps.des.no>

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

In message: <86sm44nez7.fsf@xps.des.no>
            des@des.no (Dag-Erling Smørgrav) writes:
: 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.

Can we please not make every single one of these into a bikeshed?

I purposely chose continue because it is the simplest way to tell the
compiler that you didn't forget anything that's independent of
whitespace and comment folding.

Warner


home | help

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