[libxml2] Fix an uninitialized variable use
- From: Daniel Veillard <veillard src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libxml2] Fix an uninitialized variable use
- Date: Fri, 11 May 2012 02:53:25 +0000 (UTC)
commit ed35d3d7c3c28b46c012fdd26d40da374a06c8ed
Author: Daniel Veillard <veillard redhat com>
Date: Fri May 11 10:52:27 2012 +0800
Fix an uninitialized variable use
When compiled without SAX1 support
parser.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/parser.c b/parser.c
index b39aa59..1b80a8c 100644
--- a/parser.c
+++ b/parser.c
@@ -9565,7 +9565,7 @@ xmlParseElement(xmlParserCtxtPtr ctxt) {
const xmlChar *prefix = NULL;
const xmlChar *URI = NULL;
xmlParserNodeInfo node_info;
- int line, tlen;
+ int line, tlen = 0;
xmlNodePtr ret;
int nsNr = ctxt->nsNr;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]