From: drh Date: Sat, 3 Jun 2017 20:09:37 +0000 (+0000) Subject: Initialize a variable to zero to prevent an (incorrect) compiler warning of X-Git-Tag: version-3.20.0~216 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4c88348729960b56b78a32e562a9627789bd0aaa;p=thirdparty%2Fsqlite.git Initialize a variable to zero to prevent an (incorrect) compiler warning of it potentially being uninitialized. FossilOrigin-Name: 65182ce041b30cd0193b958eca975b720fe5200a868baba1e633e49433d86813 --- diff --git a/manifest b/manifest index 419d4b7179..e7b7904567 100644 --- a/manifest +++ b/manifest @@ -1,5 +1,5 @@ -C Fix\sthe\sSQLITE_PTR_TO_INT\smacro\sso\sthat\sworks\son\srecent\sversions\sof\sLLVM\son\nMacs. -D 2017-06-03T19:16:29.417 +C Initialize\sa\svariable\sto\szero\sto\sprevent\san\s(incorrect)\scompiler\swarning\sof\nit\spotentially\sbeing\suninitialized. +D 2017-06-03T20:09:37.750 F Makefile.in 1cc758ce3374a32425e4d130c2fe7b026b20de5b8843243de75f087c0a2661fb F Makefile.linux-gcc 7bc79876b875010e8c8f9502eb935ca92aa3c434 F Makefile.msc 8eeb80162074004e906b53d7340a12a14c471a83743aab975947e95ce061efcc @@ -367,7 +367,7 @@ F src/hash.c 63d0ee752a3b92d4695b2b1f5259c4621b2cfebd F src/hash.h ab34c5c54a9e9de2e790b24349ba5aab3dbb4fd4 F src/hwtime.h 747c1bbe9df21a92e9c50f3bbec1de841dc5e5da F src/in-operator.md 10cd8f4bcd225a32518407c2fb2484089112fd71 -F src/insert.c ea52232babcee65f1f9833d0fefc3b598662a004c19a178ef4fc0981e2f02a58 +F src/insert.c 974499a3999d339a4c1ba8ef129a988d9f136b3789e423808b38cdc19d28adbe F src/legacy.c e88ed13c2d531decde75d42c2e35623fb9ce3cb0 F src/loadext.c a72909474dadce771d3669bf84bf689424f6f87d471fee898589c3ef9b2acfd9 F src/main.c 1054e4dbb4fcca84246ed48b35164a996f5a52daa56c275157a5d583c0e2cd00 @@ -1582,7 +1582,7 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93 F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0 -P dd7e043f7c9e16cd98a273b7105fa74bdd14a93db8cd5bde064cc1c40591155c -R 8b2a39ef8a0a0553e869d5988e2c986a +P c4089ffbdb4b3467648c97044b0d3085da7128103079b686f608efde83c7df30 +R 3c37ab99d269368a12ed5d8ba45b9047 U drh -Z 9161894a0425d3d1f6d0c8155564a30e +Z e34770b44d77a197b518fca205f97903 diff --git a/manifest.uuid b/manifest.uuid index 82485e8198..f2abf0bf6c 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -c4089ffbdb4b3467648c97044b0d3085da7128103079b686f608efde83c7df30 \ No newline at end of file +65182ce041b30cd0193b958eca975b720fe5200a868baba1e633e49433d86813 \ No newline at end of file diff --git a/src/insert.c b/src/insert.c index 48502b7e07..e684eaafa9 100644 --- a/src/insert.c +++ b/src/insert.c @@ -524,6 +524,7 @@ void sqlite3Insert( if( pParse->nErr || db->mallocFailed ){ goto insert_cleanup; } + dest.iSDParm = 0; /* Suppress a harmless compiler warning */ /* If the Select object is really just a simple VALUES() list with a ** single row (the common case) then keep that one row of values