diff --git a/expat/tests/chardata.c b/expat/tests/chardata.c index 26b43b28..2ff7125c 100644 --- a/expat/tests/chardata.c +++ b/expat/tests/chardata.c @@ -14,8 +14,8 @@ static int xmlstrlen(const XML_Char *s) { - assert(s != NULL); int len = 0; + assert(s != NULL); while (s[len] != 0) ++len; return len;