summaryrefslogtreecommitdiff
path: root/scope.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2014-09-23 06:24:50 -0700
committerFather Chrysostomos <sprout@cpan.org>2014-09-24 22:05:36 -0700
commit145bf8eec5be8c17bd592ec8d28efb239bdafa93 (patch)
tree9c0676d6c0128eebaf0ac8eed3c1aa625f55981f /scope.c
parenta9f1090bfdfd2dc65f4d48a010d12f08dfeeedb5 (diff)
downloadperl-145bf8eec5be8c17bd592ec8d28efb239bdafa93.tar.gz
Remove most uses of PADMY
SVs_PADMY is now 0, and SvPADMY means !SvPADTMP.
Diffstat (limited to 'scope.c')
-rw-r--r--scope.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scope.c b/scope.c
index c3f32d2e72..ada0a19029 100644
--- a/scope.c
+++ b/scope.c
@@ -1076,7 +1076,7 @@ Perl_leave_scope(pTHX_ I32 base)
SvREFCNT_dec_NN(sv); /* Cast current value to the winds. */
/* preserve pad nature, but also mark as not live
* for any closure capturing */
- SvFLAGS(*svp) |= (SVs_PADMY|SVs_PADSTALE);
+ SvFLAGS(*svp) |= SVs_PADSTALE;
}
}
break;