Fix harmless compiler warnings in the UPDATE code generator.

FossilOrigin-Name: 385db266673abaf7013ffad09b28014c246547ef
This commit is contained in:
drh 2017-01-12 16:21:54 +00:00
parent 70d90a2c37
commit ae051a8970
3 changed files with 10 additions and 10 deletions

View File

@ -1,5 +1,5 @@
C Remove\san\sunnecessary\scorruption\stest\sfrom\sthe\sbtree\sbalancer.\s\sIf\scorruption\nis\spresent,\sit\swill\sbe\sfound\sharmlessly\sby\slater\stests.
D 2017-01-12T16:14:33.708
C Fix\sharmless\scompiler\swarnings\sin\sthe\sUPDATE\scode\sgenerator.
D 2017-01-12T16:21:54.480
F Makefile.in 41bd4cad981487345c4a84081074bcdb876e4b2e
F Makefile.linux-gcc 7bc79876b875010e8c8f9502eb935ca92aa3c434
F Makefile.msc b8ca53350ae545e3562403d5da2a69cec79308da
@ -451,7 +451,7 @@ F src/threads.c 4ae07fa022a3dc7c5beb373cf744a85d3c5c6c3c
F src/tokenize.c 5c2f516876fc27fbd7753913f032f49eb89e83b5
F src/treeview.c 4e44ade3bfe59d82005039f72e09333ce2b4162c
F src/trigger.c c9f0810043b265724fdb1bdd466894f984dfc182
F src/update.c 715bbfe276c9d008482cdb0ecd86ff996dba3b6c
F src/update.c 4e21634dde80a59b85f4d59eca75e3b5a5001fd4
F src/utf.c 699001c79f28e48e9bcdf8a463da029ea660540c
F src/util.c a88b0466fddf445ce752226d4698ca3faada620a
F src/vacuum.c 33c174b28886b2faf26e503b5a49a1c01a9b1c16
@ -1544,7 +1544,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 8097712c9c1f4ea16bc5dd462da248ef98896061
R c3fb4d0a8856fd8a9a7ac25a5dcf6c2d
P bddf39562d08e259c43dd59b82afb62fe0eb2eef
R c1f97b0b1d9fb4e22bf29bd06fe30297
U drh
Z 126b06a4044b551a39fa62a47a4fd8cf
Z a2b5fe338be7534e4379cc3897438f5d

View File

@ -1 +1 @@
bddf39562d08e259c43dd59b82afb62fe0eb2eef
385db266673abaf7013ffad09b28014c246547ef

View File

@ -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 */