diff options
author | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-01-08 10:35:04 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@gmail.com> | 2007-01-08 10:35:04 +0000 |
commit | b7bf404b7a72f55bf93065ae7b25a5ba0a9ff7f6 (patch) | |
tree | 08db02df5a369b3b09389ffdeb82f8fa2de5026b /pp_ctl.c | |
parent | 647f639ff8a9df78122c041a3971917f8df7aa30 (diff) | |
download | perl-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.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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 ; |