summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xml.c b/xml.c
index 9c15e11..84c78ce 100644
--- a/xml.c
+++ b/xml.c
@@ -116,7 +116,7 @@ startvalue:
static void
xml_parsecomment(XMLParser *x)
{
- int c, i;
+ int c, i = 0;
while ((c = GETNEXT()) != EOF) {
if (c == '-') {