mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Add a NEVER() macro around a pager.c conditional that must always be false
in the current implementation. (CVS 6920) FossilOrigin-Name: 1e510d7fc5cc47fe2714dbb1ed3ea7e90acbff7b
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
** file simultaneously, or one process from reading the database while
|
||||
** another is writing.
|
||||
**
|
||||
** @(#) $Id: pager.c,v 1.611 2009/07/22 02:02:40 drh Exp $
|
||||
** @(#) $Id: pager.c,v 1.612 2009/07/22 13:19:20 drh Exp $
|
||||
*/
|
||||
#ifndef SQLITE_OMIT_DISKIO
|
||||
#include "sqliteInt.h"
|
||||
@@ -2883,7 +2883,7 @@ static int pager_write_pagelist(PgHdr *pList){
|
||||
Pager *pPager; /* Pager object */
|
||||
int rc; /* Return code */
|
||||
|
||||
if( pList==0 ) return SQLITE_OK;
|
||||
if( NEVER(pList==0) ) return SQLITE_OK;
|
||||
pPager = pList->pPager;
|
||||
|
||||
/* At this point there may be either a RESERVED or EXCLUSIVE lock on the
|
||||
|
Reference in New Issue
Block a user