Commit efffbf71 by Richard Kenner

(shadow_tag_warned): Don't warn about useless keyword if in system

header file.

From-SVN: r9755
parent 8ae49a28
...@@ -3385,7 +3385,7 @@ shadow_tag_warned (declspecs, warned) ...@@ -3385,7 +3385,7 @@ shadow_tag_warned (declspecs, warned)
} }
else else
{ {
if (!warned) if (!warned && ! in_system_header)
{ {
warning ("useless keyword or type name in empty declaration"); warning ("useless keyword or type name in empty declaration");
warned = 2; warned = 2;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment