1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Remove an unused variable from the recovery extension.

FossilOrigin-Name: a029dddff4f4ed7275538610cbd9cea658b905b72924860ec9cda9e76dabcfac
This commit is contained in:
drh
2022-10-26 20:12:46 +00:00
parent 387f468591
commit 07dd481010
3 changed files with 9 additions and 11 deletions

View File

@ -2322,7 +2322,6 @@ static int recoverVfsRead(sqlite3_file *pFd, void *aBuf, int nByte, i64 iOff){
rc = pFd->pMethods->xFileSize(pFd, &dbFileSize);
if( rc==SQLITE_OK && p->detected_pgsz==0 ){
u32 pgsz2 = 0;
rc = recoverVfsDetectPagesize(p, pFd, nReserve, dbFileSize);
}
if( p->detected_pgsz ){
@ -2801,4 +2800,3 @@ int sqlite3_recover_finish(sqlite3_recover *p){
}
return rc;
}