Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Sep 2012 11:07:33 +0100
From:      Chris Rees <utisoft@gmail.com>
To:        Alexey Dokuchaev <danfe@freebsd.org>
Cc:        svn-src-head@freebsd.org, Andrew Turner <andrew@freebsd.org>, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r240549 - head/sys/arm/tegra
Message-ID:  <CADLo839GFHahURDTFRZ2y0VeCk2ML9HExF=TM55-4yOckXHgJg@mail.gmail.com>
In-Reply-To: <20120916095355.GA83285@FreeBSD.org>
References:  <201209160755.q8G7tnMH036332@svn.freebsd.org> <20120916092818.GA81952@FreeBSD.org> <CADLo83-5zQBdf3ndBXO4qbkXJgaFPxGfE86LSDGqJ4g3k_4gkw@mail.gmail.com> <20120916095355.GA83285@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 16 Sep 2012 10:53, "Alexey Dokuchaev" <danfe@freebsd.org> wrote:
>
> On Sun, Sep 16, 2012 at 10:37:56AM +0100, Chris Rees wrote:
> > On 16 September 2012 10:28, Alexey Dokuchaev <danfe@freebsd.org> wrote:
> > > I thought preferred and more style(9) compliant way to code [empty
> > > endless loop] is:
> > >
> > >         for (;;)
> > >                 continue;
> >
> > Actually:
> >
> > for (;;)
> >         ;
>
> Explicit "continue" is supposed to tell reviewer that original author did
> not make a typo, but indeed knew what he was doing.  Lonely semicolon is
too
> ambiguous in this case.
>
> ./danfe
>

That's not what man style says...

Chris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo839GFHahURDTFRZ2y0VeCk2ML9HExF=TM55-4yOckXHgJg>