aboutsummaryrefslogtreecommitdiff
path: root/src/expr.c
diff options
context:
space:
mode:
authordrh <>2025-01-11 13:59:42 +0000
committerdrh <>2025-01-11 13:59:42 +0000
commit27661f24cd6fc71387af5a48caf3fc38dffe1b14 (patch)
tree04ae328fb7a13b9d8fe4217a0fa3eb13ee31a5c3 /src/expr.c
parentc1f914dbc986e7e9ef6643eb02e03ec5cb55c3d0 (diff)
downloadsqlite-27661f24cd6fc71387af5a48caf3fc38dffe1b14.tar.gz
sqlite-27661f24cd6fc71387af5a48caf3fc38dffe1b14.zip
Fix harmless scan-build warnings.
FossilOrigin-Name: b93af6feb7c0c3af30a47810a7c0e77ce41c386fac164c64bb5871a6c153db7e
Diffstat (limited to 'src/expr.c')
-rw-r--r--src/expr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/expr.c b/src/expr.c
index 86c966683..8c118d077 100644
--- a/src/expr.c
+++ b/src/expr.c
@@ -3285,6 +3285,7 @@ int sqlite3FindInIndex(
if( aiMap ) aiMap[i] = j;
}
+ assert( nExpr<BMS );
assert( i==nExpr || colUsed!=(MASKBIT(nExpr)-1) );
if( colUsed==(MASKBIT(nExpr)-1) ){
/* If we reach this point, that means the index pIdx is usable */