From: Richard Kenner Date: Fri, 12 Aug 1994 13:10:54 +0000 (-0400) Subject: Fix typo in last change. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5ce574f2c654812679468177c9da3fc7b03817bb;p=gcc.git Fix typo in last change. From-SVN: r7901 --- diff --git a/gcc/c-decl.c b/gcc/c-decl.c index 915f3aa1b42..c861ed32cc5 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -1626,7 +1626,7 @@ duplicate_decls (newdecl, olddecl) } /* 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 followed by a definition. */ && !(TREE_CODE (newdecl) == FUNCTION_DECL && DECL_INITIAL (newdecl) != 0