diff options
author | Richard Stallman <rms@gnu.org> | 1992-08-14 23:18:12 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1992-08-14 23:18:12 +0000 |
commit | 0e01e0a2bc12ab643f9760227b56c9f82e1b9f7a (patch) | |
tree | 81a01f0b49e66612d57a38f0298d0718159ebcd8 /gcc | |
parent | 448251cf35ebb44231dede033cfff876facdfb00 (diff) | |
download | gcc-0e01e0a2bc12ab643f9760227b56c9f82e1b9f7a.zip gcc-0e01e0a2bc12ab643f9760227b56c9f82e1b9f7a.tar.gz gcc-0e01e0a2bc12ab643f9760227b56c9f82e1b9f7a.tar.bz2 |
(grokdeclarator): Remove duplicate diagnostic for
initialized parameters; start_decl already does this.
From-SVN: r1850
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/c-decl.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c index cdeb1ca..d6d93f1 100644 --- 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; |