avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Feature request - compiler warning for "if" stmts th


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] Feature request - compiler warning for "if" stmts that do nothing
Date: 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.

-Wextra?

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
address@hidden        http://www.interface-systems.de/~j/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]