mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-07-30 22:43:14 +03:00
Remove useless call to htmlDefaultSAXHandlerInit
This function is already called from xmlInitParser.
This commit is contained in:
@ -4910,8 +4910,6 @@ htmlParseDocument(htmlParserCtxtPtr ctxt) {
|
|||||||
|
|
||||||
xmlInitParser();
|
xmlInitParser();
|
||||||
|
|
||||||
htmlDefaultSAXHandlerInit();
|
|
||||||
|
|
||||||
if ((ctxt == NULL) || (ctxt->input == NULL)) {
|
if ((ctxt == NULL) || (ctxt->input == NULL)) {
|
||||||
htmlParseErr(ctxt, XML_ERR_INTERNAL_ERROR,
|
htmlParseErr(ctxt, XML_ERR_INTERNAL_ERROR,
|
||||||
"htmlParseDocument: context error\n", NULL, NULL);
|
"htmlParseDocument: context error\n", NULL, NULL);
|
||||||
|
Reference in New Issue
Block a user