diff --git a/ext/fts1/fts1.c b/ext/fts1/fts1.c index e0e2560ee5..735b69952e 100644 --- a/ext/fts1/fts1.c +++ b/ext/fts1/fts1.c @@ -1699,8 +1699,7 @@ static void tokenListToIdList(char **azIn){ ** the result. */ static char *firstToken(char *zIn, char **pzTail){ - int i, n, ttype; - i = 0; + int n, ttype; while(1){ n = getToken(zIn, &ttype); if( ttype==TOKEN_SPACE ){ @@ -1769,7 +1768,7 @@ static void clearTableSpec(TableSpec *p) { */ static int parseSpec(TableSpec *pSpec, int argc, const char *const*argv, char**pzErr){ - int i, j, n; + int i, n; char *z, *zDummy; char **azArg; const char *zTokenizer = 0; /* argv[] entry describing the tokenizer */ @@ -1809,7 +1808,7 @@ static int parseSpec(TableSpec *pSpec, int argc, const char *const*argv, pSpec->nColumn = 0; pSpec->azColumn = azArg; zTokenizer = "tokenize simple"; - for(i=3, j=0; inColumn = 0; pSpec->azColumn = azArg; zTokenizer = "tokenize simple"; - for(i=3, j=0; i