parser: Remove unneeded call to xmlDetectEncoding

This commit is contained in:
Nick Wellnhofer 2024-11-18 20:40:47 +01:00
parent 497081baab
commit 84a6eece62

View File

@ -11802,8 +11802,6 @@ xmlCtxtParseDtd(xmlParserCtxtPtr ctxt, xmlParserInputPtr input,
return(NULL);
}
xmlDetectEncoding(ctxt);
xmlParseExternalSubset(ctxt, publicId, systemId);
if (ctxt->wellFormed) {