markup-validator commit: Initialize WF_Errors to an empty list.

changeset:   3200:64955e04c06a
tag:         tip
user:        Ville Skyttä <ville.skytta@iki.fi>
date:        Sat Dec 18 13:51:19 2010 +0200
files:       httpd/cgi-bin/check
description:
Initialize WF_Errors to an empty list.


diff -r da888ce9f014 -r 64955e04c06a httpd/cgi-bin/check
--- a/httpd/cgi-bin/check	Thu Dec 16 17:35:30 2010 +0200
+++ b/httpd/cgi-bin/check	Sat Dec 18 13:51:19 2010 +0200
@@ -611,6 +611,7 @@
 # before we start the parsing, clean slate
 $File->{'Is Valid'} = TRUE;
 $File->{Errors} = [];
+$File->{WF_Errors} = [];
 
 if (($File->{DOCTYPE} eq "HTML5") or ($File->{DOCTYPE} eq "XHTML5")) {
     if ($CFG->{External}->{HTML5}) {

Received on Saturday, 18 December 2010 11:51:35 UTC