This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/17178] [3.5 Regression] static consts and -Wunused-variable
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Aug 2004 23:51:15 -0000
- Subject: [Bug c/17178] [3.5 Regression] static consts and -Wunused-variable
- References: <20040824223146.17178.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-08-24 23:51 -------
Warn whenever a local variable or non-constant static variable is unused aside from its declaration
Note the "non-constant static".
Again if this is on purpose as you said it was, why did you not change the documenation then?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17178