aboutsummaryrefslogtreecommitdiff
path: root/src/func.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2009-02-03 15:50:33 +0000
committerdrh <drh@noemail.net>2009-02-03 15:50:33 +0000
commit1d34fdecb6dbfb042d191a06925e50faefc7e049 (patch)
treea8821b395797e3d7be24faa18d0d284d8fdabd61 /src/func.c
parent4b9421af6f332355530302c29748a32fa874e185 (diff)
downloadsqlite-1d34fdecb6dbfb042d191a06925e50faefc7e049.tar.gz
sqlite-1d34fdecb6dbfb042d191a06925e50faefc7e049.zip
Remove several compiler warnings. (CVS 6239)
FossilOrigin-Name: 85e9196d79ef8500300abb215a31e0519b2e8d02
Diffstat (limited to 'src/func.c')
-rw-r--r--src/func.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/func.c b/src/func.c
index e5542b3b0..85af9e0e9 100644
--- a/src/func.c
+++ b/src/func.c
@@ -16,7 +16,7 @@
** sqliteRegisterBuildinFunctions() found at the bottom of the file.
** All other code has file scope.
**
-** $Id: func.c,v 1.220 2009/02/03 13:19:12 drh Exp $
+** $Id: func.c,v 1.221 2009/02/03 15:50:34 drh Exp $
*/
#include "sqliteInt.h"
#include <stdlib.h>
@@ -287,6 +287,7 @@ static void upperFunc(sqlite3_context *context, int argc, sqlite3_value **argv){
char *z1;
const char *z2;
int i, n;
+ UNUSED_PARAMETER(argc);
z2 = (char*)sqlite3_value_text(argv[0]);
n = sqlite3_value_bytes(argv[0]);
/* Verify that the call to _bytes() does not invalidate the _text() pointer */
@@ -306,6 +307,7 @@ static void lowerFunc(sqlite3_context *context, int argc, sqlite3_value **argv){
u8 *z1;
const char *z2;
int i, n;
+ UNUSED_PARAMETER(argc);
z2 = (char*)sqlite3_value_text(argv[0]);
n = sqlite3_value_bytes(argv[0]);
/* Verify that the call to _bytes() does not invalidate the _text() pointer */
@@ -707,6 +709,7 @@ static const char hexdigits[] = {
*/
static void quoteFunc(sqlite3_context *context, int argc, sqlite3_value **argv){
assert( argc==1 );
+ UNUSED_PARAMETER(argc);
switch( sqlite3_value_type(argv[0]) ){
case SQLITE_INTEGER:
case SQLITE_FLOAT: {