1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Fix some compiler warnings in fts5.

FossilOrigin-Name: b066637bb75959267fe6104da323c5112ad78f82
This commit is contained in:
dan
2016-10-05 20:14:29 +00:00
parent e3c6b61cee
commit 642f0146d7
3 changed files with 11 additions and 9 deletions

View File

@ -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]<io ){
int nScore;
memset(aSeen, 0, nPhrase);
rc = fts5SnippetScore(pApi, pFts, nDocsize, aSeen, i,
sFinder.aFirst[jj], nToken, &nScore, 0