From: drh <> Date: Sat, 2 Dec 2023 20:37:45 +0000 (+0000) Subject: Fix harmless compiler warnings reported by MSVC. X-Git-Tag: version-3.45.0~116^2~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8f8d481485b6409b739a2a5b4693a35b4aab5c77;p=thirdparty%2Fsqlite.git Fix harmless compiler warnings reported by MSVC. FossilOrigin-Name: 419652c0c82980bd043584dcd2976f91dfff7b926b216d597698299850b855c0 --- diff --git a/manifest b/manifest index 6e1a782d31..cc84f09d52 100644 --- a/manifest +++ b/manifest @@ -1,5 +1,5 @@ -C Code\sand\scomment\scleanup.\s\sEverything\sshould\swork\sthe\ssame. -D 2023-12-02T20:25:36.578 +C Fix\sharmless\scompiler\swarnings\sreported\sby\sMSVC. +D 2023-12-02T20:37:45.416 F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1 F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea F LICENSE.md df5091916dbb40e6e9686186587125e1b2ff51f022cc334e886c19a0e9982724 @@ -688,7 +688,7 @@ F src/hash.h 3340ab6e1d13e725571d7cee6d3e3135f0779a7d8e76a9ce0a85971fa3953c51 F src/hwtime.h f9c2dfb84dce7acf95ce6d289e46f5f9d3d1afd328e53da8f8e9008e3b3caae6 F src/in-operator.md 10cd8f4bcd225a32518407c2fb2484089112fd71 F src/insert.c 3f0a94082d978bbdd33c38fefea15346c6c6bffb70bc645a71dc0f1f87dd3276 -F src/json.c 5ad1a1be6199359b09bb4eca690789b77375e00f17c55697b6288f1b0fbbe8b0 +F src/json.c fc67289aebe1ab7d3ccc31ec61b0fcea1d724f23026d072c05242dcc57049edf F src/legacy.c d7874bc885906868cd51e6c2156698f2754f02d9eee1bae2d687323c3ca8e5aa F src/loadext.c 7432c944ff197046d67a1207790a1b13eec4548c85a9457eb0896bb3641dfb36 F src/main.c 1b89f3de98d1b59fec5bac1d66d6ece21f703821b8eaa0d53d9604c35309f6f9 @@ -2145,8 +2145,8 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93 F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0 -P 7e3941502789c5afaf19b08112f464abf5e3cba7f92fc9290af2a0f96127ad9a -R 9f984966a856d28c36c8f0d6d69732a4 +P c640754df0d3ffdad994745f0d0e10c8f19f424b87f6a6e6e269491a0350b950 +R cbbd74dd3f256fc8164ba32c868936ce U drh -Z ea3e13091dceb571341f1dccf0e97828 +Z de70fb53fc1b64715f23def652af30f4 # Remove this line to create a well-formed Fossil manifest. diff --git a/manifest.uuid b/manifest.uuid index 9a68b3807a..304fd5742b 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -c640754df0d3ffdad994745f0d0e10c8f19f424b87f6a6e6e269491a0350b950 \ No newline at end of file +419652c0c82980bd043584dcd2976f91dfff7b926b216d597698299850b855c0 \ No newline at end of file diff --git a/src/json.c b/src/json.c index 9356bfa8d5..067bdb4739 100644 --- a/src/json.c +++ b/src/json.c @@ -3416,10 +3416,10 @@ static int jsonMergePatchBlob( u8 eTLabel; /* Node type of the target label */ u32 iTLabel = 0; /* Index of the label */ u32 nTLabel = 0; /* Header size in bytes for the target label */ - u32 szTLabel; /* Size of the target label payload */ + u32 szTLabel = 0; /* Size of the target label payload */ u32 iTValue = 0; /* Index of the target value */ u32 nTValue = 0; /* Header size of the target value */ - u32 szTValue; /* Payload size for the target value */ + u32 szTValue = 0; /* Payload size for the target value */ u32 iPCursor; /* Cursor position while scanning the patch */ u32 iPEnd; /* First byte past the end of the patch */