1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-26 00:37:43 +03:00

Fix an uninitialized variable use

When compiled without SAX1 support
This commit is contained in:
Daniel Veillard
2012-05-11 10:52:27 +08:00
parent 0c7109c81f
commit ed35d3d7c3

View File

@@ -9565,7 +9565,7 @@ xmlParseElement(xmlParserCtxtPtr ctxt) {
const xmlChar *prefix = NULL; const xmlChar *prefix = NULL;
const xmlChar *URI = NULL; const xmlChar *URI = NULL;
xmlParserNodeInfo node_info; xmlParserNodeInfo node_info;
int line, tlen; int line, tlen = 0;
xmlNodePtr ret; xmlNodePtr ret;
int nsNr = ctxt->nsNr; int nsNr = ctxt->nsNr;