diff options
author | danielk1977 <danielk1977@noemail.net> | 2008-11-19 09:05:26 +0000 |
---|---|---|
committer | danielk1977 <danielk1977@noemail.net> | 2008-11-19 09:05:26 +0000 |
commit | 62c14b3487d3d5a06c367c26b40476a17fc30d33 (patch) | |
tree | 5abb6c533a0b9ff9e193ade5af8d2ed7e9c38040 /src/vdbeapi.c | |
parent | b232c23297248eb0753cf036c99f4bece9df992a (diff) | |
download | sqlite-62c14b3487d3d5a06c367c26b40476a17fc30d33.tar.gz sqlite-62c14b3487d3d5a06c367c26b40476a17fc30d33.zip |
Changes to avoid "unused parameter" compiler warnings. (CVS 5921)
FossilOrigin-Name: 88134322c36b41304aaeef99c39b4ef5b495ca3b
Diffstat (limited to 'src/vdbeapi.c')
-rw-r--r-- | src/vdbeapi.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/vdbeapi.c b/src/vdbeapi.c index 6fbd2a8f2..95fbf5c18 100644 --- a/src/vdbeapi.c +++ b/src/vdbeapi.c @@ -13,7 +13,7 @@ ** This file contains code use to implement APIs that are part of the ** VDBE. ** -** $Id: vdbeapi.c,v 1.148 2008/11/05 16:37:35 drh Exp $ +** $Id: vdbeapi.c,v 1.149 2008/11/19 09:05:27 danielk1977 Exp $ */ #include "sqliteInt.h" #include "vdbeInt.h" @@ -601,11 +601,12 @@ sqlite3 *sqlite3_context_db_handle(sqlite3_context *p){ */ void sqlite3InvalidFunction( sqlite3_context *context, /* The function calling context */ - int argc, /* Number of arguments to the function */ - sqlite3_value **argv /* Value of each argument */ + int NotUsed, /* Number of arguments to the function */ + sqlite3_value **NotUsed2 /* Value of each argument */ ){ const char *zName = context->pFunc->zName; char *zErr; + UNUSED_PARAMETER2(NotUsed, NotUsed2); zErr = sqlite3MPrintf(0, "unable to use function %s in the requested context", zName); sqlite3_result_error(context, zErr, -1); |