Remove a few warnings
diff --git a/HTMLparser.c b/HTMLparser.c index 3e2467c..42dc776 100644 --- a/HTMLparser.c +++ b/HTMLparser.c
@@ -4291,8 +4291,6 @@ const htmlElemDesc * info; htmlParserNodeInfo node_info; int failed; - int depth; - const xmlChar *oldptr; if ((ctxt == NULL) || (ctxt->input == NULL)) { htmlParseErr(ctxt, XML_ERR_INTERNAL_ERROR,
diff --git a/SAX2.c b/SAX2.c index 04c0e30..84c1f00 100644 --- a/SAX2.c +++ b/SAX2.c
@@ -1108,7 +1108,8 @@ #ifdef LIBXML_HTML_ENABLED if ((ctxt->html) && (value == NULL) && (htmlIsBooleanAttr(fullname))) { - nval = value = xmlStrdup(fullname); + nval = xmlStrdup(fullname); + value = (const xmlChar *) nval; } else #endif {
diff --git a/xinclude.c b/xinclude.c index 674db9c..2916ffa 100644 --- a/xinclude.c +++ b/xinclude.c
@@ -2479,7 +2479,6 @@ */ int xmlXIncludeProcessFlagsData(xmlDocPtr doc, int flags, void *data) { - xmlXIncludeCtxtPtr ctxt; xmlNodePtr tree; if (doc == NULL)