summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiltjo Posthuma <hiltjo@codemadness.org>2020-10-18 00:00:58 +0200
committerHiltjo Posthuma <hiltjo@codemadness.org>2020-10-18 00:00:58 +0200
commitbffe41223467cb6d9a87c1a057966924fbda6c40 (patch)
tree70075fb0f85bde5c2be4b7b6a21dde7c223391ee
parent3bce637a2a610c7991b7cbf87c530d87b019c3d6 (diff)
xml.c: initialize i = 0
Forgot it in the cleanup commit 37afcf334fa1ba0b668bde08e8fcaaa9fd7dfa0d
-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 == '-') {