]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Fix an unintialized variable problem in sqlite3ota.c.
authordan <dan@noemail.net>
Wed, 17 Sep 2014 19:05:46 +0000 (19:05 +0000)
committerdan <dan@noemail.net>
Wed, 17 Sep 2014 19:05:46 +0000 (19:05 +0000)
FossilOrigin-Name: 01268607515a30d07559648c43034e522605748a

ext/ota/sqlite3ota.c
manifest
manifest.uuid

index 999bc00cf702fc78dff8b410b21e15001910f0f5..a0d282357ab8db1cbfb5d9f00213741087a82456 100644 (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) 
index d80435f101d5efcb5bbf310bf65752788d5d0d32..8d9373f09f0f3f7d55b4d043e80ba3aed91a1dcf 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Add\stests\sand\sfixes\sfor\s"PRAGMA\sota_mode".
-D 2014-09-17T15:20:24.516
+C Fix\san\sunintialized\svariable\sproblem\sin\ssqlite3ota.c.
+D 2014-09-17T19:05:46.738
 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
 F Makefile.in cf57f673d77606ab0f2d9627ca52a9ba1464146a
 F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
@@ -126,7 +126,7 @@ F ext/ota/ota1.test 7cbf37a9f6cd29320f47b041cfeb0cc1d7eaa916
 F ext/ota/ota2.test 716f9c66e8bf8b0ad2fe3a5d8323e6cf460a2e27
 F ext/ota/ota3.test 1c48b7476af1c5920db9a43e7b1476d421a463b5
 F ext/ota/ota4.test baf23b47748a5056c713871959cc70fc623c90e9
-F ext/ota/sqlite3ota.c 668ed08dd81ff8ae1e8524b2d4bf0f2609cbf907
+F ext/ota/sqlite3ota.c 49187d90b40f223b1b618872e71bad44686165d9
 F ext/ota/sqlite3ota.h 39ce4dffbfcf4ade9e4526369fe2243709345c8e
 F ext/rtree/README 6315c0d73ebf0ec40dedb5aa0e942bc8b54e3761
 F ext/rtree/rtree.c 57bec53e1a677ab74217fe1f20a58c3a47261d6b
@@ -1205,7 +1205,7 @@ F tool/vdbe_profile.tcl 67746953071a9f8f2f668b73fe899074e2c6d8c1
 F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4
 F tool/warnings.sh 0abfd78ceb09b7f7c27c688c8e3fe93268a13b32
 F tool/win/sqlite.vsix deb315d026cc8400325c5863eef847784a219a2f
-P decaccc37cbdcd2a663233469efdf4982a810513
-R d8d51626052024a717c822f3b6627467
+P 39df35c4ac65ffba76ba2c6f6727cf5e843e7517
+R 11f94a1a393bad4eb750c64571794419
 U dan
-Z 65720a0642c813fef614e2d54b0a69b7
+Z 16716967f94fb6bc011dff17e7e27c1f
index a0c18add6ee4139eee0b4e2fbc7a77888945c727..6bd324710a74f2fe5b5d7703b7a85bb9ce4cdd36 100644 (file)
@@ -1 +1 @@
-39df35c4ac65ffba76ba2c6f6727cf5e843e7517
\ No newline at end of file
+01268607515a30d07559648c43034e522605748a
\ No newline at end of file