validator/httpd/cgi-bin check,1.624,1.625

Update of /sources/public/validator/httpd/cgi-bin
In directory hutz:/tmp/cvs-serv26095

Modified Files:
	check 
Log Message:
Reduce undefinedness warnings.

Index: check
===================================================================
RCS file: /sources/public/validator/httpd/cgi-bin/check,v
retrieving revision 1.624
retrieving revision 1.625
diff -u -d -r1.624 -r1.625
--- check	4 Jan 2009 16:54:19 -0000	1.624
+++ check	4 Jan 2009 20:05:51 -0000	1.625
@@ -1822,7 +1822,7 @@
   if (scalar @{$File->{Errors}}) {
     foreach my $err (@{$File->{Errors}}) {
       my $line;
-      my $col;
+      my $col = 0;
       if (defined($err->{char}) && $err->{char} =~ /^[0-9]+$/ ){
         ($line, $col) = &truncate_line($File->{Content}->[$err->{line}-1], $err->{char});
         $line = &mark_error($line, $col);

Received on Sunday, 4 January 2009 20:06:02 UTC