This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #82250] fix tainted (s)print format
[perl5.git] / pp_ctl.c
index f5a7a48..44cf3c1 100644 (file)
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -244,8 +244,6 @@ PP(pp_regcomp)
            SvTAINTED_on((SV*)re);
            RX_EXTFLAGS(re) |= RXf_TAINTED;
        }
-       else
-           RX_EXTFLAGS(re) &= ~RXf_TAINTED;
     }
 #endif