From 3d42fb788ab2be01b891dba61b380c819117e12b Mon Sep 17 00:00:00 2001 From: drh Date: Mon, 4 May 2020 19:52:00 +0000 Subject: [PATCH] Fix harmless compiler warnings. FossilOrigin-Name: 8eee591d3cb9fadfd5cac5543bd66ef9cb371a72d3ad3241fb3bfd67fb216eda --- ext/misc/uint.c | 1 + manifest | 14 +++++++------- manifest.uuid | 2 +- src/analyze.c | 2 +- 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/ext/misc/uint.c b/ext/misc/uint.c index 12982c2a20..286314fefa 100644 --- a/ext/misc/uint.c +++ b/ext/misc/uint.c @@ -45,6 +45,7 @@ static int uintCollFunc( const unsigned char *zA = (const unsigned char*)pKey1; const unsigned char *zB = (const unsigned char*)pKey2; int i=0, j=0, x; + (void)notUsed; while( inLimit && p->nRow>p->nLimit*(p->nSkipAhead+1) ){ + if( p->nLimit && p->nRow>(tRowcnt)p->nLimit*(p->nSkipAhead+1) ){ p->nSkipAhead++; sqlite3_result_int(context, p->current.anDLt[0]>0); } -- 2.47.2