mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-08 14:02:16 +03:00
Avoid a harmless reference to an uninitialized variable following an
error in FTS3. This is not a bug. The change is to silence a valgrind warning. FossilOrigin-Name: d980c5b22fd700afb3cac5de5501c9350f2f589e
This commit is contained in:
@@ -4304,9 +4304,8 @@ case OP_Last: { /* jump */
|
||||
pC = p->apCsr[pOp->p1];
|
||||
assert( pC!=0 );
|
||||
pCrsr = pC->pCursor;
|
||||
if( NEVER(pCrsr==0) ){
|
||||
res = 1;
|
||||
}else{
|
||||
res = 0;
|
||||
if( ALWAYS(pCrsr!=0) ){
|
||||
rc = sqlite3BtreeLast(pCrsr, &res);
|
||||
}
|
||||
pC->nullRow = (u8)res;
|
||||
|
Reference in New Issue
Block a user