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:
2
parser.c
2
parser.c
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user