1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-11 01:42:22 +03:00

Fix some warnings about unused and uninitialized variables. (CVS 3788)

FossilOrigin-Name: 18aec1ddfb08b74f0ef9cf1215eac7af71449db3
This commit is contained in:
drh
2007-04-01 23:49:51 +00:00
parent 2c547df6cf
commit 61fc595fdd
10 changed files with 26 additions and 34 deletions

View File

@@ -12,7 +12,7 @@
** This file contains C code routines that are called by the parser
** to handle INSERT statements in SQLite.
**
** $Id: insert.c,v 1.182 2007/03/31 13:00:26 drh Exp $
** $Id: insert.c,v 1.183 2007/04/01 23:49:52 drh Exp $
*/
#include "sqliteInt.h"
@@ -1374,7 +1374,7 @@ static int xferOptimization(
int addr1, addr2; /* Loop addresses */
int emptyDestTest; /* Address of test for empty pDest */
int emptySrcTest; /* Address of test for empty pSrc */
int memRowid; /* A memcell containing a rowid from pSrc */
int memRowid = 0; /* A memcell containing a rowid from pSrc */
Vdbe *v; /* The VDBE we are building */
KeyInfo *pKey; /* Key information for an index */
int counterMem; /* Memory register used by AUTOINC */