summaryrefslogtreecommitdiff
path: root/warnings.pl
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2010-09-22 12:05:19 +0100
committerNicholas Clark <nick@ccl4.org>2010-09-22 12:05:19 +0100
commit0bfc72b6d951f71ce7df3c1565981f64980acfc6 (patch)
tree1caa9d1421bf5b5ae9253c1409b9ca435c0531fe /warnings.pl
parent756173d302c7f4024a88f3e7aafa344c3b63a32a (diff)
downloadperl-0bfc72b6d951f71ce7df3c1565981f64980acfc6.tar.gz
Remove from warnings.pl various long commented out and dead code.
This code was commented out/rendered vestigial in 1998, 2000 and 2002 by 599cee73f2261c5e, d3a7d8c7d7e4d69d and 0d658bf5a06395c2.
Diffstat (limited to 'warnings.pl')
-rw-r--r--warnings.pl8
1 files changed, 0 insertions, 8 deletions
diff --git a/warnings.pl b/warnings.pl
index e261643ce3..c201734886 100644
--- a/warnings.pl
+++ b/warnings.pl
@@ -95,7 +95,6 @@ my %list ;
my %Value ;
my %ValueToName ;
my %NameToValue ;
-my $index ;
my %v_list = () ;
@@ -145,7 +144,6 @@ sub walk
foreach $k (sort keys %$tre) {
$v = $tre->{$k};
die "duplicate key $k\n" if defined $list{$k} ;
- #$Value{$index} = uc $k ;
die "Can't find key '$k'"
if ! defined $NameToValue{uc $k} ;
push @{ $list{$k} }, $NameToValue{uc $k} ;
@@ -300,8 +298,6 @@ EOM
my $offset = 0 ;
-$index = $offset ;
-#@{ $list{"all"} } = walk ($tree) ;
valueWalk ($tree) ;
my $index = orderValues();
@@ -386,8 +382,6 @@ while (<DATA>) {
print $pm $_ ;
}
-#$list{'all'} = [ $offset .. 8 * ($warn_size/2) - 1 ] ;
-
$last_ver = 0;
print $pm "our %Offsets = (\n" ;
foreach my $k (sort { $a <=> $b } keys %ValueToName) {
@@ -412,7 +406,6 @@ foreach $k (sort keys %list) {
my @list = sort { $a <=> $b } @$v ;
print $pm tab(4, " '$k'"), '=> "',
- # mkHex($warn_size, @list),
mkHex($warn_size, map $_ * 2 , @list),
'", # [', mkRange(@list), "]\n" ;
}
@@ -426,7 +419,6 @@ foreach $k (sort keys %list) {
my @list = sort { $a <=> $b } @$v ;
print $pm tab(4, " '$k'"), '=> "',
- # mkHex($warn_size, @list),
mkHex($warn_size, map $_ * 2 + 1 , @list),
'", # [', mkRange(@list), "]\n" ;
}