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>
pull/53/head
Slávek Banko 4 weeks ago
parent 51ce01495a
commit 1fa52261f7
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

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

Loading…
Cancel
Save