1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-07-29 11:41:22 +03:00

get rid of some compilation warnings. fix the performance problem reported

* DOCBparser.c globals.c include/libxml/xmlmemory.h: get rid of
  some compilation warnings.
* xinclude.c: fix the performance problem reported by Kevin Ruscoe
  plus some cleanup and better error reporting.
Daniel
This commit is contained in:
Daniel Veillard
2003-08-14 15:44:40 +00:00
parent ab1ae3a768
commit 9848532c2a
5 changed files with 170 additions and 154 deletions

View File

@ -3156,7 +3156,7 @@ docbParsePI(xmlParserCtxtPtr ctxt) {
*/
target = xmlParseName(ctxt);
if (target != NULL) {
xmlChar *encoding = NULL;
const xmlChar *encoding = NULL;
if ((RAW == '?') && (NXT(1) == '>')) {
if (input != ctxt->input) {