This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perldelta for RT #113584
[perl5.git] / mg.c
diff --git a/mg.c b/mg.c
index 855671b..4424bfe 100644 (file)
--- a/mg.c
+++ b/mg.c
@@ -2432,9 +2432,6 @@ Perl_magic_setregexp(pTHX_ SV *sv, MAGIC *mg)
     } else if (type == PERL_MAGIC_bm) {
        SvTAIL_off(sv);
        SvVALID_off(sv);
-    } else if (type == PERL_MAGIC_study) {
-       if (!isGV_with_GP(sv))
-           SvSCREAM_off(sv);
     } else {
        assert(type == PERL_MAGIC_fm);
     }