aboutsummaryrefslogtreecommitdiff
path: root/src/json.c
diff options
context:
space:
mode:
authordrh <>2023-12-02 20:37:45 +0000
committerdrh <>2023-12-02 20:37:45 +0000
commit8f8d481485b6409b739a2a5b4693a35b4aab5c77 (patch)
treec8f7cf0698dbc5bc9c7fb3875c09f17d87568dfe /src/json.c
parentc1e85742da3633cb9a154043b22ffb3c64c31bdc (diff)
downloadsqlite-8f8d481485b6409b739a2a5b4693a35b4aab5c77.tar.gz
sqlite-8f8d481485b6409b739a2a5b4693a35b4aab5c77.zip
Fix harmless compiler warnings reported by MSVC.
FossilOrigin-Name: 419652c0c82980bd043584dcd2976f91dfff7b926b216d597698299850b855c0
Diffstat (limited to 'src/json.c')
-rw-r--r--src/json.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/json.c b/src/json.c
index 9356bfa8d..067bdb473 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 */