aboutsummaryrefslogtreecommitdiff
path: root/src/wal.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wal.c')
-rw-r--r--src/wal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wal.c b/src/wal.c
index 57d8e462d..792a65662 100644
--- a/src/wal.c
+++ b/src/wal.c
@@ -1582,7 +1582,7 @@ static int walCheckpoint(
nReq = ((i64)mxPage * szPage);
rc = sqlite3OsFileSize(pWal->pDbFd, &nSize);
if( rc==SQLITE_OK && nSize<nReq ){
- rc = sqlite3OsFileControl(pWal->pDbFd, SQLITE_FCNTL_SIZE_HINT, &nReq);
+ sqlite3OsFileControl(pWal->pDbFd, SQLITE_FCNTL_SIZE_HINT, &nReq);
}
/* Iterate through the contents of the WAL, copying data to the db file. */