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

Work around a bug in GCC 4.0.2. (CVS 3154)

FossilOrigin-Name: fe0920c7922bfdbefbc0107fb9170d98bec2dcef
This commit is contained in:
drh
2006-03-26 20:49:17 +00:00
parent 923782530b
commit d8f50c4957
3 changed files with 9 additions and 9 deletions

View File

@@ -18,7 +18,7 @@
** file simultaneously, or one process from reading the database while
** another is writing.
**
** @(#) $Id: pager.c,v 1.264 2006/03/23 23:29:04 drh Exp $
** @(#) $Id: pager.c,v 1.265 2006/03/26 20:49:18 drh Exp $
*/
#ifndef SQLITE_OMIT_DISKIO
#include "sqliteInt.h"
@@ -1809,6 +1809,7 @@ int sqlite3pager_pagecount(Pager *pPager){
** Forward declaration
*/
static int syncJournal(Pager*);
static void clearHistory(PgHistory*);
/*
@@ -1834,7 +1835,6 @@ static void unlinkHashChain(Pager *pPager, PgHdr *pPg){
pPager->aHash[h] = pPg->pNextHash;
}
if( MEMDB ){
static void clearHistory(PgHistory*); /* Forward reference */
clearHistory(PGHDR_TO_HIST(pPg, pPager));
}
pPg->pgno = 0;