# HG changeset patch
# User Nick Wellnhofer <wellnhofer@aevum.de>
# Date 1661342675 -7200
#      Wed Aug 24 14:04:35 2022 +0200
# Node ID 79acc3340cf5372b113b15ccdd89a637a68a0c97
# Parent  1c7257669847ee9634ba45e0a0df1834086b4f3c
Remove useless call to htmlDefaultSAXHandlerInit

This function is already called from xmlInitParser.

diff --git a/HTMLparser.c b/HTMLparser.c
--- a/HTMLparser.c
+++ b/HTMLparser.c
@@ -4910,8 +4910,6 @@
 
     xmlInitParser();
 
-    htmlDefaultSAXHandlerInit();
-
     if ((ctxt == NULL) || (ctxt->input == NULL)) {
 	htmlParseErr(ctxt, XML_ERR_INTERNAL_ERROR,
 		     "htmlParseDocument: context error\n", NULL, NULL);