W3C home > Mailing lists > Public > www-validator-cvs@w3.org > December 2010

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

From: Mercurial notifier <nobody@w3.org>
Date: Sat, 18 Dec 2010 11:51:33 +0000
Message-Id: <E1PTvK1-0005jV-Hd@mcbain.w3.org>
To: markup-validator updates <www-validator-cvs@w3.org>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:44 UTC