1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-21 14:53:44 +03:00

fixed #172260 redundant assignment. fixed xmlSAXParseDoc() and

* SAX.c: fixed #172260 redundant assignment.
* parser.c include/libxml/parser.h: fixed xmlSAXParseDoc() and
  xmlParseDoc() signatures #172257.
Daniel
This commit is contained in:
Daniel Veillard
2005-03-31 14:59:00 +00:00
parent 32acf0c3b4
commit 7331e5cab8
4 changed files with 10 additions and 5 deletions

View File

@@ -12212,7 +12212,7 @@ xmlCreateDocParserCtxt(const xmlChar *cur) {
*/
xmlDocPtr
xmlSAXParseDoc(xmlSAXHandlerPtr sax, xmlChar *cur, int recovery) {
xmlSAXParseDoc(xmlSAXHandlerPtr sax, const xmlChar *cur, int recovery) {
xmlDocPtr ret;
xmlParserCtxtPtr ctxt;
xmlSAXHandlerPtr oldsax = NULL;
@@ -12253,7 +12253,7 @@ xmlSAXParseDoc(xmlSAXHandlerPtr sax, xmlChar *cur, int recovery) {
*/
xmlDocPtr
xmlParseDoc(xmlChar *cur) {
xmlParseDoc(const xmlChar *cur) {
return(xmlSAXParseDoc(NULL, cur, 0));
}
#endif /* LIBXML_SAX1_ENABLED */