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

Trivial modifications to prevent compiler warnings. (CVS 1607)

FossilOrigin-Name: 7974c9a6f5ed86f02176376d99d909c43a4ae455
This commit is contained in:
danielk1977
2004-06-16 12:02:43 +00:00
parent cfe9a69f90
commit 742f947b1d
7 changed files with 80 additions and 80 deletions

View File

@@ -12,7 +12,7 @@
** This file contains C code routines that are called by the parser
** to handle SELECT statements in SQLite.
**
** $Id: select.c,v 1.190 2004/06/15 02:44:19 danielk1977 Exp $
** $Id: select.c,v 1.191 2004/06/16 12:02:47 danielk1977 Exp $
*/
#include "sqliteInt.h"
@@ -1404,7 +1404,7 @@ static int multiSelect(
case TK_EXCEPT:
case TK_UNION: {
int unionTab; /* Cursor number of the temporary table holding result */
int op; /* One of the SRT_ operations to apply to self */
int op = 0; /* One of the SRT_ operations to apply to self */
int priorOp; /* The SRT_ operation to apply to prior selects */
int nLimit, nOffset; /* Saved values of p->nLimit and p->nOffset */
ExprList *pOrderBy; /* The ORDER BY clause for the right SELECT */
@@ -2342,7 +2342,7 @@ int sqlite3Select(
/* Generate code for all sub-queries in the FROM clause
*/
for(i=0; i<pTabList->nSrc; i++){
const char *zSavedAuthContext;
const char *zSavedAuthContext = 0;
int needRestoreContext;
if( pTabList->a[i].pSelect==0 ) continue;