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:
@ -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) {
|
||||
|
Reference in New Issue
Block a user