1
0
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:
Nick Wellnhofer
2022-08-24 14:04:35 +02:00
parent 3513d76aa2
commit d45263a262

View File

@ -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);