aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c2
-rw-r--r--src/where.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 5e9a03a47..1163deb6e 100644
--- a/src/main.c
+++ b/src/main.c
@@ -4271,7 +4271,6 @@ int sqlite3_test_control(int op, ...){
** issue "defined but not used" warnings. */
if( x==9999 ){
sqlite3ShowExpr(0);
- sqlite3ShowExpr(0);
sqlite3ShowExprList(0);
sqlite3ShowIdList(0);
sqlite3ShowSrcList(0);
@@ -4288,7 +4287,6 @@ int sqlite3_test_control(int op, ...){
sqlite3ShowWinFunc(0);
#endif
sqlite3ShowSelect(0);
- sqlite3ShowWhereTerm(0);
}
#endif
break;
diff --git a/src/where.c b/src/where.c
index 20ebaa8cd..c9698699b 100644
--- a/src/where.c
+++ b/src/where.c
@@ -7144,6 +7144,7 @@ whereBeginError:
){
if( (db->flags & SQLITE_VdbeAddopTrace)==0 ) return;
sqlite3VdbePrintOp(0, pc, pOp);
+ sqlite3ShowWhereTerm(0); /* So compiler won't complain about unused func */
}
#endif