Initialize a variable to prevent an MSVC compiler warning. Ticket #394. (CVS 1051)

FossilOrigin-Name: 96e3c539586bf86c4fe8de0ac25de6655f704035
This commit is contained in:
drh 2003-07-16 00:54:31 +00:00
parent da808d56dc
commit d4f5ee2805
3 changed files with 9 additions and 9 deletions

View File

@ -1,5 +1,5 @@
C An\san\sextra\stest\sassociated\swith\sticket\s#387.\s(CVS\s1050)
D 2003-07-09T16:34:56
C Initialize\sa\svariable\sto\sprevent\san\sMSVC\scompiler\swarning.\s\sTicket\s#394.\s(CVS\s1051)
D 2003-07-16T00:54:31
F Makefile.in 9ad23ed4ca97f9670c4496432e3fbd4b3760ebde
F Makefile.linux-gcc b86a99c493a5bfb402d1d9178dcdc4bd4b32f906
F README f1de682fbbd94899d50aca13d387d1b3fd3be2dd
@ -61,7 +61,7 @@ F src/util.c 566c7780170dd11fb1ad5de3ba81f0dfea7cccf0
F src/vacuum.c 0820984615786c9ccdaad8032a792309b354a8eb
F src/vdbe.c 7bef599539f72d5b5ae62723a7d52aefe9bfb2f0
F src/vdbe.h 985c24f312d10f9ef8f9a8b8ea62fcdf68e82f21
F src/where.c 6834140938558f6ca8ee5e6decd7b6a74d65af1f
F src/where.c 83b2a2d26d5c3bea33457a83e541bb1dcf7b1248
F test/all.test 569a92a8ee88f5300c057cc4a8f50fbbc69a3242
F test/attach.test eccea2937923ac0be8ad1072585fd3b4f0b85598
F test/attach2.test d69003d59f5b1260dfcf3fcc5f60f164680aa7ee
@ -168,7 +168,7 @@ F www/speed.tcl 2f6b1155b99d39adb185f900456d1d592c4832b3
F www/sqlite.tcl 3c83b08cf9f18aa2d69453ff441a36c40e431604
F www/tclsqlite.tcl 1db15abeb446aad0caf0b95b8b9579720e4ea331
F www/vdbe.tcl 9b9095d4495f37697fd1935d10e14c6015e80aa1
P dd84f88f6c4012e4a093a4881f6fe50527bb2006
R 4fffb2b13882985abe2dd3c02e48c471
P 6a07ac3782bc18f907ffcf66d908ddaa82ab9293
R 60816c1f9d14c21b4d74e100abc8c1fe
U drh
Z 437f994bbe53fffa8646d77e6805cf2f
Z da6e7a70e113773ece5e492f9f39d7ac

View File

@ -1 +1 @@
6a07ac3782bc18f907ffcf66d908ddaa82ab9293
96e3c539586bf86c4fe8de0ac25de6655f704035

View File

@ -12,7 +12,7 @@
** This module contains C code that generates VDBE code used to process
** the WHERE clause of SQL statements.
**
** $Id: where.c,v 1.80 2003/07/06 17:22:25 drh Exp $
** $Id: where.c,v 1.81 2003/07/16 00:54:31 drh Exp $
*/
#include "sqliteInt.h"
@ -358,7 +358,7 @@ WhereInfo *sqliteWhereBegin(
int i; /* Loop counter */
WhereInfo *pWInfo; /* Will become the return value of this function */
Vdbe *v = pParse->pVdbe; /* The virtual database engine */
int brk, cont; /* Addresses used during code generation */
int brk, cont = 0; /* Addresses used during code generation */
int nExpr; /* Number of subexpressions in the WHERE clause */
int loopMask; /* One bit set for each outer loop */
int haveKey; /* True if KEY is on the stack */