diff options
author | Steven Bosscher <stevenb@suse.de> | 2005-10-19 14:48:29 +0000 |
---|---|---|
committer | Steven Bosscher <steven@gcc.gnu.org> | 2005-10-19 14:48:29 +0000 |
commit | f95f80d1a762998d6b8731d506f6667ccbdaf996 (patch) | |
tree | 988fb136daa7814e2926da81d9c274aa06aefc9d /gcc/cfgexpand.c | |
parent | e48050bd060e5faeae80c4c833e14fe3885ed599 (diff) | |
download | gcc-f95f80d1a762998d6b8731d506f6667ccbdaf996.tar.gz |
re PR c/23228 (Silly "unused variable" warning after redeclaration of a local variable)
PR c/23228
* c-decl.c (pop_scope): Don't warn about an unused variable
if it is marked with TREE_NO_WARNING.
(duplicate_decls): Set TREE_NO_WARNING if olddecl and newdecl
somenow mismatch and olddecl is to be replaced.
From-SVN: r105621
Diffstat (limited to 'gcc/cfgexpand.c')
0 files changed, 0 insertions, 0 deletions