aboutsummaryrefslogtreecommitdiff
path: root/src/dbstat.c
diff options
context:
space:
mode:
authordrh <>2022-12-23 14:49:24 +0000
committerdrh <>2022-12-23 14:49:24 +0000
commit3547e4997f29afa0df561653019b795e6f8f691a (patch)
tree7c63cf598502cc233f3abafef97a6f8bdd80b6c2 /src/dbstat.c
parentde5f3af2b98f10d4fe0e6d72183127e74cade6b0 (diff)
downloadsqlite-3547e4997f29afa0df561653019b795e6f8f691a.tar.gz
sqlite-3547e4997f29afa0df561653019b795e6f8f691a.zip
Fix lots of harmless, nuisance compiler warnings, mostly unused parameter
warnings in extensions. FossilOrigin-Name: c14bbe1606c1450b709970f922b94a641dfc8f9bd09126501d7dc4db99ea4772
Diffstat (limited to 'src/dbstat.c')
-rw-r--r--src/dbstat.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dbstat.c b/src/dbstat.c
index fdef913f8..0a89d0524 100644
--- a/src/dbstat.c
+++ b/src/dbstat.c
@@ -163,6 +163,7 @@ static int statConnect(
StatTable *pTab = 0;
int rc = SQLITE_OK;
int iDb;
+ (void)pAux;
if( argc>=4 ){
Token nm;
@@ -216,6 +217,7 @@ static int statBestIndex(sqlite3_vtab *tab, sqlite3_index_info *pIdxInfo){
int iSchema = -1;
int iName = -1;
int iAgg = -1;
+ (void)tab;
/* Look for a valid schema=? constraint. If found, change the idxNum to
** 1 and request the value of that constraint be sent to xFilter. And
@@ -741,6 +743,8 @@ static int statFilter(
int iArg = 0; /* Count of argv[] parameters used so far */
int rc = SQLITE_OK; /* Result of this operation */
const char *zName = 0; /* Only provide analysis of this table */
+ (void)argc;
+ (void)idxStr;
statResetCsr(pCsr);
sqlite3_finalize(pCsr->pStmt);