fixed a bug introduced on last commit daniel

* xmlschemas.c: fixed a bug introduced on last commit
daniel
diff --git a/ChangeLog b/ChangeLog
index f973708..3bd08f6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sun Jul 10 21:51:16 CEST 2005 Daniel Veillard <daniel@veillard.com>
+
+	* xmlschemas.c: fixed a bug introduced on last commit
+
 Sun Jul 10 21:00:54 CEST 2005 Daniel Veillard <daniel@veillard.com>
 
 	* doc/xmllint.1 doc/xmllint.html doc/xmllint.xml: fixed a typo
diff --git a/xmlschemas.c b/xmlschemas.c
index 444c0de..28a54d6 100644
--- a/xmlschemas.c
+++ b/xmlschemas.c
@@ -23465,7 +23465,6 @@
         return;
 
     vctxt->flags = 0;
-    vctxt->err = 0;
     vctxt->validationRoot = NULL;
     vctxt->doc = NULL;
 #ifdef LIBXML_READER_ENABLED