summaryrefslogtreecommitdiffstats
path: root/httpd
diff options
context:
space:
mode:
authorville <ville@localhost>2009-11-24 18:53:34 +0000
committerville <ville@localhost>2009-11-24 18:53:34 +0000
commitfa59ca83a3591ae2e036634088c70f56a60a4363 (patch)
treeedce75e0760cc1f38238499f30f608aff3d9ea3a /httpd
parentddcaea24550b0eb08a767eac7a8cb9aa49122f5c (diff)
downloadmarkup-validator-fa59ca83a3591ae2e036634088c70f56a60a4363.zip
markup-validator-fa59ca83a3591ae2e036634088c70f56a60a4363.tar.gz
markup-validator-fa59ca83a3591ae2e036634088c70f56a60a4363.tar.bz2
Drop dead code found by perlcritic.
Diffstat (limited to 'httpd')
-rwxr-xr-xhttpd/cgi-bin/check7
1 files changed, 2 insertions, 5 deletions
diff --git a/httpd/cgi-bin/check b/httpd/cgi-bin/check
index d2d4837..dee3e2a 100755
--- a/httpd/cgi-bin/check
+++ b/httpd/cgi-bin/check
@@ -14,7 +14,7 @@
# This source code is available under the license at:
# http://www.w3.org/Consortium/Legal/copyright-software
#
-# $Id: check,v 1.726 2009-11-24 18:49:51 ville Exp $
+# $Id: check,v 1.727 2009-11-24 18:53:34 ville Exp $
#
# We need Perl 5.8.0+.
@@ -216,7 +216,7 @@ EOF
#
# Strings
- $VERSION = q$Revision: 1.726 $;
+ $VERSION = q$Revision: 1.727 $;
$VERSION =~ s/Revision: ([\d\.]+) /$1/;
#
@@ -2204,9 +2204,6 @@ sub report_errors ($)
my $number_of_warnings = 0;
my $number_of_info = 0;
- # Hash to keep track of how many of each error is reported.
- my %Msgs; # Used to generate a UID for explanations.
-
# for the sake of readability, at least until the xmlwf errors have
# explanations, we push the errors from the XML parser at the END of the
# error list.