static bool
S_already_defined(pTHX_ CV *const cv, OP * const block, OP * const o,
- PADNAME * const name, SV ** const const_svp,
- GV * const gv)
+ PADNAME * const name, SV ** const const_svp)
{
assert (cv);
assert (o || name);
cv_ckproto_len_flags(cv, (GV *)name, ps, ps_len, ps_utf8);
/* already defined? */
if (exists) {
- if (S_already_defined(aTHX_ cv,block,NULL,name,&const_sv,NULL))
+ if (S_already_defined(aTHX_ cv,block,NULL,name,&const_sv))
cv = NULL;
else {
if (attrs) goto attrs;
cv_ckproto_len_flags(cv, gv, ps, ps_len, ps_utf8);
/* already defined (or promised)? */
if (exists || GvASSUMECV(gv)) {
- if (S_already_defined(aTHX_ cv, block, o, NULL, &const_sv, gv))
+ if (S_already_defined(aTHX_ cv, block, o, NULL, &const_sv))
cv = NULL;
else {
if (attrs) goto attrs;