mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-29 11:41:22 +03:00
fixing bug 118559
This commit is contained in:
2
error.c
2
error.c
@ -350,7 +350,6 @@ xmlParserValidityError(void *ctx, const char *msg, ...)
|
||||
char * str;
|
||||
int len = xmlStrlen((const xmlChar *) msg);
|
||||
static int had_info = 0;
|
||||
int need_context = 0;
|
||||
|
||||
if ((len > 1) && (msg[len - 2] != ':')) {
|
||||
if (ctxt != NULL) {
|
||||
@ -363,7 +362,6 @@ xmlParserValidityError(void *ctx, const char *msg, ...)
|
||||
}
|
||||
}
|
||||
xmlGenericError(xmlGenericErrorContext, "validity error: ");
|
||||
need_context = 1;
|
||||
had_info = 0;
|
||||
} else {
|
||||
had_info = 1;
|
||||
|
Reference in New Issue
Block a user