mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Silence some harmless uninitialized local variable warnings.
FossilOrigin-Name: 44375a34e59d1b0f0d765a99dcc7e6f30a4be7f7
This commit is contained in:
@@ -421,7 +421,7 @@ static int tvfsSync(sqlite3_file *pFile, int flags){
|
||||
Testvfs *p = (Testvfs *)pFd->pVfs->pAppData;
|
||||
|
||||
if( p->pScript && p->mask&TESTVFS_SYNC_MASK ){
|
||||
char *zFlags;
|
||||
char *zFlags = 0;
|
||||
|
||||
switch( flags ){
|
||||
case SQLITE_SYNC_NORMAL:
|
||||
@@ -1225,7 +1225,7 @@ static int testvfs_obj_cmd(
|
||||
case CMD_CANTOPENERR:
|
||||
case CMD_IOERR:
|
||||
case CMD_FULLERR: {
|
||||
TestFaultInject *pTest;
|
||||
TestFaultInject *pTest = 0;
|
||||
int iRet;
|
||||
|
||||
switch( aSubcmd[i].eCmd ){
|
||||
|
Reference in New Issue
Block a user