summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-05-18 18:09:42 -0700
committerFather Chrysostomos <sprout@cpan.org>2012-05-21 18:09:31 -0700
commit3fc18f30fc97fb47867d49892d6b3b422f6d3819 (patch)
tree4495576d6dbbf55163012899bcca9d9ae8a385fa /sv.c
parentbee7c5743fabd49c584c5edbb637c66c5c25ca9a (diff)
downloadperl-3fc18f30fc97fb47867d49892d6b3b422f6d3819.tar.gz
sv.c: Don’t do SvAMAGIC_off in sv_setsv_flags
This has been useless since the flag was moved to the referent in com- mit dd2eae66. dstr is undefined by the time this statement is reached if it was a reference.
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sv.c b/sv.c
index 1e7f4d2e34..dcb06a3a91 100644
--- a/sv.c
+++ b/sv.c
@@ -3960,7 +3960,6 @@ Perl_sv_setsv_flags(pTHX_ SV *dstr, register SV* sstr, const I32 flags)
stype = SvTYPE(sstr);
dtype = SvTYPE(dstr);
- (void)SvAMAGIC_off(dstr);
if ( SvVOK(dstr) )
{
/* need to nuke the magic */