Commit b294717b authored by Daniel Veillard's avatar Daniel Veillard

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
parent fef73a55
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
......
......@@ -3010,7 +3010,7 @@ xmlSchemaPIllegalFacetListUnionErr(xmlSchemaParserCtxtPtr ctxt,
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 @@ xmlSchemaPIllegalFacetListUnionErr(xmlSchemaParserCtxtPtr ctxt,
"%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 @@ xmlSchemaParseNotation(xmlSchemaParserCtxtPtr ctxt, xmlSchemaPtr schema,
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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment