mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Fix a couple of problems with variable initializations picked up by stricter compilers. (CVS 5691)
FossilOrigin-Name: f4293d148007515eaf8eb9738f62554a963abe8e
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
** file simultaneously, or one process from reading the database while
|
||||
** another is writing.
|
||||
**
|
||||
** @(#) $Id: pager.c,v 1.488 2008/09/08 15:35:07 danielk1977 Exp $
|
||||
** @(#) $Id: pager.c,v 1.489 2008/09/11 10:29:16 danielk1977 Exp $
|
||||
*/
|
||||
#ifndef SQLITE_OMIT_DISKIO
|
||||
#include "sqliteInt.h"
|
||||
@@ -578,7 +578,7 @@ static void seekJournalHdr(Pager *pPager){
|
||||
*/
|
||||
static int zeroJournalHdr(Pager *pPager, int doTruncate){
|
||||
int rc = SQLITE_OK;
|
||||
static const char zeroHdr[28] = {};
|
||||
static const char zeroHdr[28] = {0};
|
||||
|
||||
if( pPager->journalOff ){
|
||||
i64 iLimit = pPager->journalSizeLimit;
|
||||
|
Reference in New Issue
Block a user