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

Suppress a couple uninitialized variable warnings.

FossilOrigin-Name: 29571e228cc85f7768c3ad57d0c7af96b5a54983
This commit is contained in:
drh
2010-06-26 20:00:54 +00:00
parent 4013130485
commit 7d113eb0ab
4 changed files with 21 additions and 11 deletions

View File

@@ -4838,7 +4838,7 @@ int sqlite3PagerWrite(DbPage *pDbPage){
if( nPagePerSector>1 ){
Pgno nPageCount; /* Total number of pages in database file */
Pgno pg1; /* First page of the sector pPg is located on. */
int nPage; /* Number of pages starting at pg1 to journal */
int nPage = 0; /* Number of pages starting at pg1 to journal */
int ii; /* Loop counter */
int needSync = 0; /* True if any page has PGHDR_NEED_SYNC */