Commit 5ce574f2 by Richard Kenner

Fix typo in last change.

From-SVN: r7901
parent 8e5e53da
...@@ -1626,7 +1626,7 @@ duplicate_decls (newdecl, olddecl) ...@@ -1626,7 +1626,7 @@ duplicate_decls (newdecl, olddecl)
} }
/* Optionally warn about more than one declaration for the same name. */ /* Optionally warn about more than one declaration for the same name. */
if (errmsg = 0 && warn_redundant_decls && DECL_SOURCE_LINE (olddecl) != 0 if (errmsg == 0 && warn_redundant_decls && DECL_SOURCE_LINE (olddecl) != 0
/* Dont warn about a function declaration /* Dont warn about a function declaration
followed by a definition. */ followed by a definition. */
&& !(TREE_CODE (newdecl) == FUNCTION_DECL && DECL_INITIAL (newdecl) != 0 && !(TREE_CODE (newdecl) == FUNCTION_DECL && DECL_INITIAL (newdecl) != 0
......
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