(grokdeclarator): Remove duplicate diagnostic for
initialized parameters; start_decl already does this. From-SVN: r1850
This commit is contained in:
parent
448251cf35
commit
0e01e0a2bc
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user