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

Minor changes to avoid warnings on some compilers. (CVS 2267)

FossilOrigin-Name: 4daf1d1f9d4d32397d785d660394c5579c296b1f
This commit is contained in:
danielk1977
2005-01-23 22:41:37 +00:00
parent f4d173ae14
commit 940fac9dc5
4 changed files with 12 additions and 12 deletions

View File

@@ -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);
}