summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sv.c b/sv.c
index 63dfa71147..7776aa631d 100644
--- a/sv.c
+++ b/sv.c
@@ -1629,10 +1629,6 @@ register SV *sstr;
else {
(void)SvOK_off(dstr);
}
- if (SvOBJECT(sstr)) {
- SvOBJECT_on(dstr);
- SvSTASH(dstr) = (HV*)SvREFCNT_inc(SvSTASH(sstr));
- }
SvTAINT(dstr);
}