projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e5e53d
)
Fix typo in last change.
author
Richard Kenner
<kenner@gcc.gnu.org>
Fri, 12 Aug 1994 13:10:54 +0000
(09:10 -0400)
committer
Richard Kenner
<kenner@gcc.gnu.org>
Fri, 12 Aug 1994 13:10:54 +0000
(09:10 -0400)
From-SVN: r7901
gcc/c-decl.c
patch
|
blob
|
history
diff --git
a/gcc/c-decl.c
b/gcc/c-decl.c
index 915f3aa1b42c2a0dc3d21f84bbfe78b26243de1a..c861ed32cc58a9330f8bb684ad3fd7271ce0f29d 100644
(file)
--- 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