aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-08-14 23:18:12 +0000
committerRichard Stallman <rms@gnu.org>1992-08-14 23:18:12 +0000
commit0e01e0a2bc12ab643f9760227b56c9f82e1b9f7a (patch)
tree81a01f0b49e66612d57a38f0298d0718159ebcd8 /gcc
parent448251cf35ebb44231dede033cfff876facdfb00 (diff)
downloadgcc-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.c3
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;