aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormistachkin <mistachkin@noemail.net>2013-11-22 21:32:44 +0000
committermistachkin <mistachkin@noemail.net>2013-11-22 21:32:44 +0000
commit20b859530b304b11fe717647cc245d30f370606b (patch)
tree8a0fe74a9db7bf2786afd87a76d41de14bff3829 /src
parentf201496c6adc76f00a24a3336aec68fc10dc886a (diff)
downloadsqlite-20b859530b304b11fe717647cc245d30f370606b.tar.gz
sqlite-20b859530b304b11fe717647cc245d30f370606b.zip
Fix harmless compiler warning.
FossilOrigin-Name: f336c18fb72ab90e93640b12ac540d41accc7658
Diffstat (limited to 'src')
-rw-r--r--src/delete.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/delete.c b/src/delete.c
index 4b57cf280..5315db9e7 100644
--- a/src/delete.c
+++ b/src/delete.c
@@ -244,7 +244,7 @@ void sqlite3DeleteFrom(
int aiCurOnePass[2]; /* The write cursors opened by WHERE_ONEPASS */
u8 *aToOpen = 0; /* Open cursor iTabCur+j if aToOpen[j] is true */
Index *pPk; /* The PRIMARY KEY index on the table */
- int iPk; /* First of nPk registers holding PRIMARY KEY value */
+ int iPk = 0; /* First of nPk registers holding PRIMARY KEY value */
i16 nPk = 1; /* Number of columns in the PRIMARY KEY */
int iKey; /* Memory cell holding key of row to be deleted */
i16 nKey; /* Number of memory cells in the row key */