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

Fix an unintialized variable problem in sqlite3ota.c.

FossilOrigin-Name: 01268607515a30d07559648c43034e522605748a
This commit is contained in:
dan
2014-09-17 19:05:46 +00:00
parent abc0788663
commit 44ed6bc5c1
3 changed files with 8 additions and 8 deletions

View File

@ -971,7 +971,7 @@ static void otaLoadTransactionState(sqlite3ota *p, OtaState *pState){
assert( p->rc==SQLITE_OK );
if( pState->zTbl ){
OtaObjIter *pIter = &p->objiter;
int rc;
int rc = SQLITE_OK;
while( rc==SQLITE_OK && pIter->zTbl && (pIter->bCleanup
|| otaStrCompare(pIter->zTbl, pState->zTbl)