[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] Feature request - compiler warning for "if" stmts th
Re: [avr-gcc-list] Feature request - compiler warning for "if" stmts that do nothing
Mon, 13 Dec 2004 13:48:45 +0100 (MET)
Nathan Smith <address@hidden> wrote:
> A feature I'm requesting is that the compiler generate a warning for
> control statements that don't do anything.
According to the man page:
o An empty body occurs in an if or else statement.
I'd assume this to be warned.
J"org Wunsch Unix support engineer