1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-07-03 00:42:24 +03:00

Stop calling deprecated libxml2 init functions

This commit is contained in:
Nick Wellnhofer
2022-03-18 15:03:44 +01:00
parent fbec07736b
commit 22f12ce58e
4 changed files with 0 additions and 4 deletions

View File

@ -637,7 +637,6 @@ xsltNewTransformContext(xsltStylesheetPtr style, xmlDocPtr doc) {
cur->prof = 0;
cur->style = style;
xmlXPathInit();
cur->xpathCtxt = xmlXPathNewContext(doc);
if (cur->xpathCtxt == NULL) {
xsltTransformError(NULL, NULL, (xmlNodePtr) doc,

View File

@ -1279,7 +1279,6 @@ void initlibxsltmod(void) {
* Specific XSLT initializations
*/
libxslt_xsltErrorInitialize();
xmlInitMemory();
xmlLoadExtDtdDefaultValue = XML_DETECT_IDS | XML_COMPLETE_ATTRS;
xmlDefaultSAXHandler.cdataBlock = NULL;
/*

View File

@ -53,7 +53,6 @@ static void
xsltFuzzInit(void) {
/* Init libxml2, libxslt and libexslt */
xmlInitParser();
xmlXPathInit();
xsltInit();
exsltRegisterAll();

View File

@ -565,7 +565,6 @@ main(int argc, char **argv)
}
srand(time(NULL));
xmlInitMemory();
#if defined(_WIN32) && !defined(__CYGINW__)
setmode(fileno(stdout), O_BINARY);