aboutsummaryrefslogtreecommitdiff
path: root/src/expr.c
diff options
context:
space:
mode:
authordanielk1977 <danielk1977@noemail.net>2005-01-23 22:41:37 +0000
committerdanielk1977 <danielk1977@noemail.net>2005-01-23 22:41:37 +0000
commit940fac9dc58c3c219b0cab296734f7b01aa9ac38 (patch)
treed451311dcef86e07bb6d5db5bf47e083ecb66eac /src/expr.c
parentf4d173ae143f22df062496487dad1aaf7ebd2d2e (diff)
downloadsqlite-940fac9dc58c3c219b0cab296734f7b01aa9ac38.tar.gz
sqlite-940fac9dc58c3c219b0cab296734f7b01aa9ac38.zip
Minor changes to avoid warnings on some compilers. (CVS 2267)
FossilOrigin-Name: 4daf1d1f9d4d32397d785d660394c5579c296b1f
Diffstat (limited to 'src/expr.c')
-rw-r--r--src/expr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/expr.c b/src/expr.c
index a47e35057..2f22842a7 100644
--- a/src/expr.c
+++ b/src/expr.c
@@ -12,7 +12,7 @@
** This file contains routines used for analyzing expressions and
** for generating VDBE code that evaluates expressions in SQLite.
**
-** $Id: expr.c,v 1.187 2005/01/21 08:13:15 danielk1977 Exp $
+** $Id: expr.c,v 1.188 2005/01/23 22:41:37 danielk1977 Exp $
*/
#include "sqliteInt.h"
#include <ctype.h>
@@ -990,7 +990,6 @@ static int nameResolverStep(void *pArg, Expr *pExpr){
NameContext *pNC = (NameContext*)pArg;
SrcList *pSrcList;
Parse *pParse;
- int i;
assert( pNC!=0 );
pSrcList = pNC->pSrcList;
@@ -1000,6 +999,7 @@ static int nameResolverStep(void *pArg, Expr *pExpr){
ExprSetProperty(pExpr, EP_Resolved);
#ifndef NDEBUG
if( pSrcList ){
+ int i;
for(i=0; i<pSrcList->nSrc; i++){
assert( pSrcList->a[i].iCursor>=0 && pSrcList->a[i].iCursor<pParse->nTab);
}