From: dan Date: Wed, 5 Oct 2016 20:14:29 +0000 (+0000) Subject: Fix some compiler warnings in fts5. X-Git-Tag: version-3.15.0~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=642f0146d7ad5bf1134394c99ee83a69e92a10e7;p=thirdparty%2Fsqlite.git Fix some compiler warnings in fts5. FossilOrigin-Name: b066637bb75959267fe6104da323c5112ad78f82 --- diff --git a/ext/fts5/fts5_aux.c b/ext/fts5/fts5_aux.c index e171233050..219ea6fff8 100644 --- a/ext/fts5/fts5_aux.c +++ b/ext/fts5/fts5_aux.c @@ -292,6 +292,9 @@ static int fts5SentenceFinderCb( ){ int rc = SQLITE_OK; + UNUSED_PARAM2(pToken, nToken); + UNUSED_PARAM(iEndOff); + if( (tflags & FTS5_TOKEN_COLOCATED)==0 ){ Fts5SFinder *p = (Fts5SFinder*)pContext; if( p->iPos>0 ){ @@ -447,7 +450,6 @@ static void fts5SnippetFunction( } if( sFinder.aFirst[jj]