aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wal.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/wal.c b/src/wal.c
index ff33d5f30..d3b66b5b9 100644
--- a/src/wal.c
+++ b/src/wal.c
@@ -1154,7 +1154,6 @@ static int walIndexRecover(Wal *pWal){
/* Read all frames from the log file. */
iFrame = 0;
- isValid = 1;
for(iOffset=WAL_HDRSIZE; (iOffset+szFrame)<=nSize; iOffset+=szFrame){
u32 pgno; /* Database page number for frame */
u32 nTruncate; /* dbsize field from frame header */