Skip to content

Commit

Permalink
* parser.c: do not set error code in xmlNsWarn
Browse files Browse the repository at this point in the history
  • Loading branch information
robrichards committed Apr 29, 2009
1 parent f076f34 commit 2c8c772
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
@@ -1,3 +1,7 @@
Wed Apr 29 16:09:38 CEST 2009 Rob Richards <rrichards@cdatazone.org>

* parser.c: do not set error code in xmlNsWarn

Wed Apr 15 11:18:24 CEST 2009 Daniel Veillard <daniel@veillard.com>

* include/libxml/parser.h include/libxml/xmlwriter.h
Expand Down
2 changes: 0 additions & 2 deletions parser.c
Expand Up @@ -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,
Expand Down

0 comments on commit 2c8c772

Please sign in to comment.