1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Squelch a new (and, in this case, harmless) compiler warning.

FossilOrigin-Name: a02e19dd6ce00492f3d187e3c3c9bde4d9d1ee9a23616e62ea3590eec95652bd
This commit is contained in:
stephan
2022-12-23 11:32:06 +00:00
parent f26bad66ba
commit dc02d5658b
4 changed files with 15 additions and 15 deletions

View File

@@ -735,7 +735,7 @@ int sqlite3VdbeExec(
/*** INSERT STACK UNION HERE ***/
assert( p->eVdbeState==VDBE_RUN_STATE ); /* sqlite3_step() verifies this */
if( !DbMaskAllZero(p->lockMask) )sqlite3VdbeEnter(p);
if( DbMaskNonZero(p->lockMask) )sqlite3VdbeEnter(p);
#ifndef SQLITE_OMIT_PROGRESS_CALLBACK
if( db->xProgress ){
u32 iPrior = p->aCounter[SQLITE_STMTSTATUS_VM_STEP];
@@ -8838,7 +8838,7 @@ vdbe_return:
}
#endif
p->aCounter[SQLITE_STMTSTATUS_VM_STEP] += (int)nVmStep;
if( !DbMaskAllZero(p->lockMask) ) sqlite3VdbeLeave(p);
if( DbMaskNonZero(p->lockMask) ) sqlite3VdbeLeave(p);
assert( rc!=SQLITE_OK || nExtraDelete==0
|| sqlite3_strlike("DELETE%",p->zSql,0)!=0
);