aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2017-01-12 16:21:54 +0000
committerdrh <drh@noemail.net>2017-01-12 16:21:54 +0000
commitae051a8970d0f50869fb8a36a5d51a13a8c929c0 (patch)
tree1e415e2bb9f1c7bc26be78f2ca4e7f3123cfb964 /src
parent70d90a2c37482a9b8a5566ef47bc4101f5073184 (diff)
downloadsqlite-ae051a8970d0f50869fb8a36a5d51a13a8c929c0.tar.gz
sqlite-ae051a8970d0f50869fb8a36a5d51a13a8c929c0.zip
Fix harmless compiler warnings in the UPDATE code generator.
FossilOrigin-Name: 385db266673abaf7013ffad09b28014c246547ef
Diffstat (limited to 'src')
-rw-r--r--src/update.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/update.c b/src/update.c
index e1cbc21da..8bdb740c1 100644
--- a/src/update.c
+++ b/src/update.c
@@ -132,9 +132,9 @@ void sqlite3Update(
int iEph = 0; /* Ephemeral table holding all primary key values */
int nKey = 0; /* Number of elements in regKey for WITHOUT ROWID */
int aiCurOnePass[2]; /* The write cursors opened by WHERE_ONEPASS */
- int addrOpen; /* Address of OP_OpenEphemeral */
- int iPk; /* First of nPk cells holding PRIMARY KEY value */
- i16 nPk; /* Number of components of the PRIMARY KEY */
+ int addrOpen = 0; /* Address of OP_OpenEphemeral */
+ int iPk = 0; /* First of nPk cells holding PRIMARY KEY value */
+ i16 nPk = 0; /* Number of components of the PRIMARY KEY */
int bReplace = 0; /* True if REPLACE conflict resolution might happen */
/* Register Allocations */