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

Remove one of the NEVER() macros added by [5166acf3f0040459] because it

is reachable after all.

FossilOrigin-Name: bd8ae5febbb8d3122f1e2e09b9fcdd6ac20c075ae1cf60bcdbd36080f3736417
This commit is contained in:
drh
2022-09-30 22:40:57 +00:00
parent 1337a2291d
commit 7bc6a818f0
4 changed files with 9 additions and 9 deletions

View File

@@ -4954,7 +4954,7 @@ static int accessPayload(
assert( pPage );
assert( eOp==0 || eOp==1 );
assert( pCur->eState==CURSOR_VALID );
if( NEVER(pCur->ix>=pPage->nCell) ){
if( pCur->ix>=pPage->nCell ){
return SQLITE_CORRUPT_PAGE(pPage);
}
assert( cursorHoldsMutex(pCur) );