(shadow_tag_warned): Don't warn about useless keyword if in system
header file. From-SVN: r9755
This commit is contained in:
parent
8ae49a28b3
commit
efffbf71b1
|
@ -3385,7 +3385,7 @@ shadow_tag_warned (declspecs, warned)
|
|||
}
|
||||
else
|
||||
{
|
||||
if (!warned)
|
||||
if (!warned && ! in_system_header)
|
||||
{
|
||||
warning ("useless keyword or type name in empty declaration");
|
||||
warned = 2;
|
||||
|
|
Loading…
Reference in New Issue