Fossil SCM

Fix harmless compiler warning. [http://www.sqlite.org/src/info/580dae4615353d73|580dae4615]

jan.nijtmans 2015-03-11 22:31 trunk
Commit 3e77213a7376fb48cad153331468ccdad6113b01
1 file changed +1 -1
+1 -1
--- src/sqlite3.c
+++ src/sqlite3.c
@@ -148376,11 +148376,11 @@
148376148376
** If the iCol argument to this function was negative, this means all
148377148377
** columns of the FTS3 table. Otherwise, only column iCol is considered.
148378148378
*/
148379148379
for(iRead=0; iRead<pTab->nColumn; iRead++){
148380148380
SnippetFragment sF = {0, 0, 0, 0};
148381
- int iS;
148381
+ int iS = 0;
148382148382
if( iCol>=0 && iRead!=iCol ) continue;
148383148383
148384148384
/* Find the best snippet of nFToken tokens in column iRead. */
148385148385
rc = fts3BestSnippet(nFToken, pCsr, iRead, mCovered, &mSeen, &sF, &iS);
148386148386
if( rc!=SQLITE_OK ){
148387148387
--- src/sqlite3.c
+++ src/sqlite3.c
@@ -148376,11 +148376,11 @@
148376 ** If the iCol argument to this function was negative, this means all
148377 ** columns of the FTS3 table. Otherwise, only column iCol is considered.
148378 */
148379 for(iRead=0; iRead<pTab->nColumn; iRead++){
148380 SnippetFragment sF = {0, 0, 0, 0};
148381 int iS;
148382 if( iCol>=0 && iRead!=iCol ) continue;
148383
148384 /* Find the best snippet of nFToken tokens in column iRead. */
148385 rc = fts3BestSnippet(nFToken, pCsr, iRead, mCovered, &mSeen, &sF, &iS);
148386 if( rc!=SQLITE_OK ){
148387
--- src/sqlite3.c
+++ src/sqlite3.c
@@ -148376,11 +148376,11 @@
148376 ** If the iCol argument to this function was negative, this means all
148377 ** columns of the FTS3 table. Otherwise, only column iCol is considered.
148378 */
148379 for(iRead=0; iRead<pTab->nColumn; iRead++){
148380 SnippetFragment sF = {0, 0, 0, 0};
148381 int iS = 0;
148382 if( iCol>=0 && iRead!=iCol ) continue;
148383
148384 /* Find the best snippet of nFToken tokens in column iRead. */
148385 rc = fts3BestSnippet(nFToken, pCsr, iRead, mCovered, &mSeen, &sF, &iS);
148386 if( rc!=SQLITE_OK ){
148387

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button