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

Changes to silence compiler warnings under MSVC. (CVS 6613)

FossilOrigin-Name: df599237e1ca8b4f361477a712cf761aa1fac3df
This commit is contained in:
shane
2009-05-06 18:57:09 +00:00
parent 6a863cdad8
commit 60a4b53823
9 changed files with 36 additions and 32 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.431 2009/05/01 21:13:37 drh Exp $
** $Id: expr.c,v 1.432 2009/05/06 18:57:10 shane Exp $
*/
#include "sqliteInt.h"
@@ -412,7 +412,7 @@ Expr *sqlite3Expr(
sqlite3TokenCopy(db, &pNew->token, pToken);
if( pNew->token.z ){
pNew->token.n = sqlite3Dequote((char*)pNew->token.z);
assert( pNew->token.n==sqlite3Strlen30((char*)pNew->token.z) );
assert( pNew->token.n==(unsigned)sqlite3Strlen30((char*)pNew->token.z) );
}
if( c=='"' ) pNew->flags |= EP_DblQuoted;
}else{
@@ -1996,6 +1996,7 @@ static int codeAlias(Parse *pParse, int iAlias, Expr *pExpr, int target){
}
return iReg;
#else
UNUSED_PARAMETER(iAlias);
return sqlite3ExprCodeTarget(pParse, pExpr, target);
#endif
}