projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
448251c
)
(grokdeclarator): Remove duplicate diagnostic for
author
Richard Stallman
<rms@gnu.org>
Fri, 14 Aug 1992 23:18:12 +0000
(23:18 +0000)
committer
Richard Stallman
<rms@gnu.org>
Fri, 14 Aug 1992 23:18:12 +0000
(23:18 +0000)
initialized parameters; start_decl already does this.
From-SVN: r1850
gcc/c-decl.c
patch
|
blob
|
history
diff --git
a/gcc/c-decl.c
b/gcc/c-decl.c
index cdeb1cabe0df2913b2e84c3f4b3a1f79d8290c67..d6d93f135d56cf54aea1900eb096f097d8d02c8b 100644
(file)
--- a/
gcc/c-decl.c
+++ b/
gcc/c-decl.c
@@
-4071,9
+4071,6
@@
grokdeclarator (declarator, declspecs, decl_context, initialized)
volatilep = constp = 0;
}
- if (initialized)
- error ("parameter `%s' is initialized", name);
-
decl = build_decl (PARM_DECL, declarator, type);
if (size_varies)
C_DECL_VARIABLE_SIZE (decl) = 1;