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

Fix an unused variable warning with SQLITE_OMIT_WAL.

FossilOrigin-Name: 39866c0ede5d6ef4dd4fd57c797f0e86a2d0dc5d
This commit is contained in:
mistachkin
2012-09-13 15:26:44 +00:00
parent 7ea11af2d6
commit 59ee77c7d1
3 changed files with 9 additions and 7 deletions

View File

@@ -5495,7 +5495,9 @@ case OP_JournalMode: { /* out2-prerelease */
Pager *pPager; /* Pager associated with pBt */
int eNew; /* New journal mode */
int eOld; /* The old journal mode */
#ifndef SQLITE_OMIT_WAL
const char *zFilename; /* Name of database file for pPager */
#endif
eNew = pOp->p3;
assert( eNew==PAGER_JOURNALMODE_DELETE