pedantic compiler warnings: double semicolons, function to data pointers

Ian Lepore ian at freebsd.org
Tue May 19 19:10:24 UTC 2015


On Tue, 2015-05-19 at 11:56 -0700, Adrian Chadd wrote:
> On 19 May 2015 at 11:42, Luigi Rizzo <rizzo at iet.unipi.it> wrote:
> > While trying to compile some of my (kernel) code in different environments,
> > i noticed a couple of errors that perhaps might be worth fixing
> >
> > - extra semicolons. These come either from explicit repetitions in the code
> >   (see the output of a grep at the end of this message),
> >   or sometimes from the epansion of macros such as BITSET_DEFINE()
> 
> I think removing double-semicolons isn't a bad task..

As long as whoever does it also MFCs it so that it isn't just a bunch of
lurking merge conflicts in the future.

-- Ian




More information about the freebsd-current mailing list