mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-28 23:14:57 +03:00
* parser.c: do not set error code in xmlNsWarn
This commit is contained in:
2
parser.c
2
parser.c
@@ -727,8 +727,6 @@ xmlNsWarn(xmlParserCtxtPtr ctxt, xmlParserErrors error,
|
||||
if ((ctxt != NULL) && (ctxt->disableSAX != 0) &&
|
||||
(ctxt->instate == XML_PARSER_EOF))
|
||||
return;
|
||||
if (ctxt != NULL)
|
||||
ctxt->errNo = error;
|
||||
__xmlRaiseError(NULL, NULL, NULL, ctxt, NULL, XML_FROM_NAMESPACE, error,
|
||||
XML_ERR_WARNING, NULL, 0, (const char *) info1,
|
||||
(const char *) info2, (const char *) info3, 0, 0, msg,
|
||||
|
||||
Reference in New Issue
Block a user