Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Sep 2012 18:30:18 +0100
From:      Chris Rees <utisoft@gmail.com>
To:        David Chisnall <theraven@freebsd.org>, Bruce Evans <brde@optusnet.com.au>
Cc:        svn-src-head@freebsd.org, Andrew Turner <andrew@freebsd.org>, svn-src-all@freebsd.org, src-committers@freebsd.org, Alexey Dokuchaev <danfe@freebsd.org>
Subject:   Re: svn commit: r240549 - head/sys/arm/tegra
Message-ID:  <CADLo8381qBMC0TvJ8BXd29OFBcB9=R0NNi_idXi-h4OZ=DHWMA@mail.gmail.com>
In-Reply-To: <38FB39C4-7626-4D54-8197-E302BB9452D2@FreeBSD.org>
References:  <201209160755.q8G7tnMH036332@svn.freebsd.org> <20120916092818.GA81952@FreeBSD.org> <CADLo83-5zQBdf3ndBXO4qbkXJgaFPxGfE86LSDGqJ4g3k_4gkw@mail.gmail.com> <38FB39C4-7626-4D54-8197-E302BB9452D2@FreeBSD.org>

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

On 16 Sep 2012 16:19, "David Chisnall" <theraven@freebsd.org> wrote:
>
> On 16 Sep 2012, at 10:37, Chris Rees wrote:
>
> > Actually:
> >
> > for (;;)
> >        ;
>
> This form will generate a compiler warning, because it looks like a
missing loop body.  You can silence the warning by this form:
>
> for (;;) {}
>
> This makes it clear that you have an explicit body containing no
statements.

Please fix the style man page then, and make sure bde approves!

Chris


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo8381qBMC0TvJ8BXd29OFBcB9=R0NNi_idXi-h4OZ=DHWMA>