aboutsummaryrefslogtreecommitdiff
path: root/ext/fts3/fts3_snippet.c
diff options
context:
space:
mode:
authormistachkin <mistachkin@noemail.net>2015-03-04 20:18:55 +0000
committermistachkin <mistachkin@noemail.net>2015-03-04 20:18:55 +0000
commit0b7ff5c11bea7b8eb9e74ba8d0f65724bba239ed (patch)
treed6b67321da0ed98c8242be8879ef91eab64f9ef4 /ext/fts3/fts3_snippet.c
parent33e1327a2205aa53602fbfd32552ac97fec4d1e4 (diff)
downloadsqlite-0b7ff5c11bea7b8eb9e74ba8d0f65724bba239ed.tar.gz
sqlite-0b7ff5c11bea7b8eb9e74ba8d0f65724bba239ed.zip
Fix harmless compiler warning.
FossilOrigin-Name: 580dae4615353d73c7d096107571bd60fec5b0f2
Diffstat (limited to 'ext/fts3/fts3_snippet.c')
-rw-r--r--ext/fts3/fts3_snippet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fts3/fts3_snippet.c b/ext/fts3/fts3_snippet.c
index e40750502..7933e29a7 100644
--- a/ext/fts3/fts3_snippet.c
+++ b/ext/fts3/fts3_snippet.c
@@ -1253,7 +1253,7 @@ void sqlite3Fts3Snippet(
*/
for(iRead=0; iRead<pTab->nColumn; iRead++){
SnippetFragment sF = {0, 0, 0, 0};
- int iS;
+ int iS = 0;
if( iCol>=0 && iRead!=iCol ) continue;
/* Find the best snippet of nFToken tokens in column iRead. */