1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-05 15:55:57 +03:00

Mark an always-true conditional as such.

FossilOrigin-Name: ae025cae2266a91d4226bbdb66f82b9d7714750a
This commit is contained in:
drh
2012-10-13 20:55:12 +00:00
parent 06befd1e09
commit aa2db79a2e
3 changed files with 9 additions and 9 deletions

View File

@@ -5665,7 +5665,7 @@ static int pager_incr_changecounter(Pager *pPager, int isDirectMode){
# define DIRECT_MODE isDirectMode
#endif
if( !pPager->changeCountDone && pPager->dbSize>0 ){
if( !pPager->changeCountDone && ALWAYS(pPager->dbSize>0) ){
PgHdr *pPgHdr; /* Reference to page 1 */
assert( !pPager->tempFile && isOpen(pPager->fd) );