kxsldbg: Remove obsolete initialization of SAX1 parser.

The call does not do any operation and causes FTBFS with libxml2 >= 2.13.0.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 1fa52261f7)
r14.1.x
Slávek Banko 1 month ago
parent 4c36f29420
commit f2af844aaa
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -1220,12 +1220,6 @@ xsldbgInit()
xsltSetGenericErrorFunc(0, xsldbgGenericErrorFunc); xsltSetGenericErrorFunc(0, xsldbgGenericErrorFunc);
#endif #endif
/*
* disable CDATA from being built in the document tree
*/
xmlDefaultSAXHandlerInit();
xmlDefaultSAXHandler.cdataBlock = NULL;
if (getThreadStatus() != XSLDBG_MSG_THREAD_NOTUSED) { if (getThreadStatus() != XSLDBG_MSG_THREAD_NOTUSED) {
initialized = 1; initialized = 1;
return 1; /* this is all we need to do when running as a thread */ return 1; /* this is all we need to do when running as a thread */

Loading…
Cancel
Save