Re: [FIXES] 2.1.125

Kai Henningsen (kaih@khms.westfalen.de)
12 Oct 1998 23:12:00 +0200


torvalds@transmeta.com (Linus Torvalds) wrote on 10.10.98 in <Pine.LNX.3.96.981010095225.17612D-100000@penguin.transmeta.com>:

> On Sat, 10 Oct 1998, Adam Sulmicki wrote:
> > #if OLD_NCURSES
> > - for (i = 0; i < menu_width; i++)
> > + for (int i = 0; i < menu_width; i++)
>
> The above is not even valid C.

Indeed.

> I'd rather have the warnings.

Wouldn't "(void)i;" stop those?

MfG Kai

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/