summaryrefslogtreecommitdiff
path: root/pp_ctl.c
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-01-08 10:35:04 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-01-08 10:35:04 +0000
commitb7bf404b7a72f55bf93065ae7b25a5ba0a9ff7f6 (patch)
tree08db02df5a369b3b09389ffdeb82f8fa2de5026b /pp_ctl.c
parent647f639ff8a9df78122c041a3971917f8df7aa30 (diff)
downloadperl-b7bf404b7a72f55bf93065ae7b25a5ba0a9ff7f6.tar.gz
Turn taint warnings (-t) into severe warnings, so they're
on by default, without having to play games with the warning bits. Add a test for -t. p4raw-id: //depot/perl@29717
Diffstat (limited to 'pp_ctl.c')
-rw-r--r--pp_ctl.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/pp_ctl.c b/pp_ctl.c
index 48f2ed6379..8506daafe3 100644
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -3389,10 +3389,6 @@ PP(pp_require)
PL_compiling.cop_warnings = pWARN_ALL ;
else if (PL_dowarn & G_WARN_ALL_OFF)
PL_compiling.cop_warnings = pWARN_NONE ;
- else if (PL_taint_warn && !(PL_dowarn & G_WARN_ON)) {
- PL_compiling.cop_warnings
- = Perl_new_warnings_bitfield(aTHX_ NULL, WARN_TAINTstring, WARNsize);
- }
else
PL_compiling.cop_warnings = pWARN_STD ;