(grokdeclarator): Remove duplicate diagnostic for

initialized parameters; start_decl already does this.

From-SVN: r1850
This commit is contained in:
Richard Stallman 1992-08-14 23:18:12 +00:00
parent 448251cf35
commit 0e01e0a2bc

View File

@ -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;