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

Changes to avoid "unused parameter" compiler warnings. (CVS 5921)

FossilOrigin-Name: 88134322c36b41304aaeef99c39b4ef5b495ca3b
This commit is contained in:
danielk1977
2008-11-19 09:05:26 +00:00
parent b232c23297
commit 62c14b3487
23 changed files with 142 additions and 106 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.402 2008/11/12 08:07:12 danielk1977 Exp $
** $Id: expr.c,v 1.403 2008/11/19 09:05:27 danielk1977 Exp $
*/
#include "sqliteInt.h"
#include <ctype.h>
@@ -939,7 +939,8 @@ static int exprNodeIsConstant(Walker *pWalker, Expr *pExpr){
return WRC_Continue;
}
}
static int selectNodeIsConstant(Walker *pWalker, Select *pSelect){
static int selectNodeIsConstant(Walker *pWalker, Select *NotUsed){
UNUSED_PARAMETER(NotUsed);
pWalker->u.i = 0;
return WRC_Abort;
}