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:
4
parser.c
4
parser.c
@@ -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 */
|
||||
|
Reference in New Issue
Block a user