aboutsummaryrefslogtreecommitdiff
path: root/src/vdbeapi.c
diff options
context:
space:
mode:
authordanielk1977 <danielk1977@noemail.net>2008-11-19 09:05:26 +0000
committerdanielk1977 <danielk1977@noemail.net>2008-11-19 09:05:26 +0000
commit62c14b3487d3d5a06c367c26b40476a17fc30d33 (patch)
tree5abb6c533a0b9ff9e193ade5af8d2ed7e9c38040 /src/vdbeapi.c
parentb232c23297248eb0753cf036c99f4bece9df992a (diff)
downloadsqlite-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.c7
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);