diff options
author | Father Chrysostomos <sprout@cpan.org> | 2012-11-25 17:16:37 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-11-29 09:11:29 -0800 |
commit | b01425c33956a0b279a0f20ced4131027f2c40f4 (patch) | |
tree | cd3eb678b3948810deeba0c2bddc47d6085897f1 /scope.c | |
parent | f91dcd139f8093525e1a00c3803de98b1bf89cab (diff) | |
download | perl-b01425c33956a0b279a0f20ced4131027f2c40f4.tar.gz |
scope.c:save_gp: Remove redundant code
This has been redundant since ERRSV was changed to use GvSVn in com-
mit f5fa9033b8.
Diffstat (limited to 'scope.c')
-rw-r--r-- | scope.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -292,14 +292,6 @@ Perl_save_gp(pTHX_ GV *gv, I32 empty) gp->gp_io = newIO(); IoFLAGS(gp->gp_io) |= IOf_ARGV|IOf_START; } -#ifdef PERL_DONT_CREATE_GVSV - if (gv == PL_errgv) { - /* We could scatter this logic everywhere by changing the - definition of ERRSV from GvSV() to GvSVn(), but it seems more - efficient to do this check once here. */ - gp->gp_sv = newSV(0); - } -#endif GvGP_set(gv,gp); } else { |