diff --git a/expat/xmlparse/xmlparse.c b/expat/xmlparse/xmlparse.c index 35ce2fb3..5a2cc5ce 100755 --- a/expat/xmlparse/xmlparse.c +++ b/expat/xmlparse/xmlparse.c @@ -1054,7 +1054,7 @@ doContent(XML_Parser parser, } *eventPP = s; for (;;) { - const char *next; + const char *next = s; /* XmlContentTok doesn't always set the last arg */ int tok = XmlContentTok(enc, s, end, &next); *eventEndPP = next; switch (tok) {