- i isn't used outside the loop at the end, move it there...
sprintfToken format;
sprintfToken token;
int numTokens;
- int i;
int done = 0;
/* upper limit on number of individual formats */
return 1;
}
- i = 0;
token->type = PTOK_TAG;
if (findTag(hsa, token, start)) {
if (dst != NULL)
*dst = '\0';
- for (i = 0; i < numTokens; i++) {
+ for (int i = 0; i < numTokens; i++) {
token = format + i;
if (token->type == PTOK_STRING)
token->u.string.len = strlen(token->u.string.string);