aboutsummaryrefslogtreecommitdiff
path: root/src/wal.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2011-03-06 21:28:32 +0000
committerdrh <drh@noemail.net>2011-03-06 21:28:32 +0000
commitc126e63e4fda95f47ffe1cb294b5417c7a46c223 (patch)
tree65b7a94b2892db277a1111c79ae476b444767043 /src/wal.c
parentd7255a207eab440617f4603b016350f075a9bf8b (diff)
downloadsqlite-c126e63e4fda95f47ffe1cb294b5417c7a46c223.tar.gz
sqlite-c126e63e4fda95f47ffe1cb294b5417c7a46c223.zip
Remove dead code identified by the clang static analyzer.
FossilOrigin-Name: 01a79d5a7af48fb7e50291c0c7c6283d3fb359d0
Diffstat (limited to 'src/wal.c')
-rw-r--r--src/wal.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/wal.c b/src/wal.c
index 9f7545b61..51ea18fb2 100644
--- a/src/wal.c
+++ b/src/wal.c
@@ -1649,7 +1649,6 @@ static int walCheckpoint(
}
assert( pIter );
- mxPage = pWal->hdr.nPage;
if( eMode!=SQLITE_CHECKPOINT_PASSIVE ) xBusy = xBusyCall;
/* Compute in mxSafeFrame the index of the last frame of the WAL that is