removed unused code or variables, from Stefan Kost fixing #336163 and

* xmlschemas.c: removed unused code or variables, from Stefan Kost
  fixing #336163 and #336164
Daniel
diff --git a/ChangeLog b/ChangeLog
index 2f705e2..af92652 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Mar 27 11:44:07 CEST 2006 Daniel Veillard <daniel@veillard.com>
+
+	* xmlschemas.c: removed unused code or variables, from Stefan Kost
+	  fixing #336163 and #336164
+
 Mon Mar 27 11:38:21 CEST 2006 Daniel Veillard <daniel@veillard.com>
 
 	* xmlschemas.c: applied patch from Stefan Kost fixing #336160
diff --git a/xmlschemas.c b/xmlschemas.c
index 47af067..d64949d 100644
--- a/xmlschemas.c
+++ b/xmlschemas.c
@@ -3010,7 +3010,7 @@
 			  xmlSchemaTypePtr type,
 			  xmlSchemaFacetPtr facet)
 {
-    xmlChar *des = NULL, *strT = NULL;
+    xmlChar *des = NULL;
 
     xmlSchemaFormatItemForReport(&des, NULL, WXS_BASIC_CAST type,
 	type->node);
@@ -3018,7 +3018,6 @@
 	"%s: The facet '%s' is not allowed.\n",
 	BAD_CAST des, xmlSchemaFacetTypeToString(facet->type));
     FREE_AND_NULL(des);
-    FREE_AND_NULL(strT);
 }
 
 /**
@@ -6964,11 +6963,6 @@
         return (NULL);
     xmlSchemaPValAttrID(ctxt, node, BAD_CAST "id");
 
-     if (IS_SCHEMA(child, "annotation")) {
-        ret->annot = xmlSchemaParseAnnotation(ctxt, child, 1);
-        child = child->next;
-    }
-
     child = node->children;
     if (IS_SCHEMA(child, "annotation")) {
         ret->annot = xmlSchemaParseAnnotation(ctxt, child, 1);