mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-18 10:21:03 +03:00
Fix harmless static-analyzer warnings.
FossilOrigin-Name: 32f33f356931242b59c01b5df7e180941231e3d9c91577ad33aa4a01e9d59092
This commit is contained in:
@@ -1234,7 +1234,7 @@ static void whereIndexExprTrans(
|
||||
for(iIdxCol=0; iIdxCol<pIdx->nColumn; iIdxCol++){
|
||||
i16 iRef = pIdx->aiColumn[iIdxCol];
|
||||
if( iRef==XN_EXPR ){
|
||||
assert( aColExpr->a[iIdxCol].pExpr!=0 );
|
||||
assert( aColExpr!=0 && aColExpr->a[iIdxCol].pExpr!=0 );
|
||||
x.pIdxExpr = aColExpr->a[iIdxCol].pExpr;
|
||||
if( sqlite3ExprIsConstant(x.pIdxExpr) ) continue;
|
||||
w.xExprCallback = whereIndexExprTransNode;
|
||||
|
||||
Reference in New Issue
Block a user