svn commit: r240549 - head/sys/arm/tegra
Julian Elischer
julian at freebsd.org
Sun Sep 16 18:58:49 UTC 2012
On 9/16/12 3:07 AM, Chris Rees wrote:
>
>
> On 16 Sep 2012 10:53, "Alexey Dokuchaev" <danfe at freebsd.org
> <mailto:danfe at 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 at freebsd.org
> <mailto:danfe at 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
> >
>
for (;;) {}
> That's not what man style says...
>
> Chris
>
More information about the svn-src-head
mailing list