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/malloc.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/malloc.c')
-rw-r--r-- | src/malloc.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/malloc.c b/src/malloc.c index 8e9bbd381..a4520933e 100644 --- a/src/malloc.c +++ b/src/malloc.c @@ -12,7 +12,7 @@ ** ** Memory allocation functions used throughout sqlite. ** -** $Id: malloc.c,v 1.47 2008/11/18 07:27:24 danielk1977 Exp $ +** $Id: malloc.c,v 1.48 2008/11/19 09:05:27 danielk1977 Exp $ */ #include "sqliteInt.h" #include <stdarg.h> @@ -25,9 +25,10 @@ */ static void softHeapLimitEnforcer( void *NotUsed, - sqlite3_int64 inUse, + sqlite3_int64 NotUsed2, int allocSize ){ + UNUSED_PARAMETER2(NotUsed, NotUsed2); sqlite3_release_memory(allocSize); } @@ -69,6 +70,7 @@ int sqlite3_release_memory(int n){ nRet += sqlite3PcacheReleaseMemory(n-nRet); return nRet; #else + UNUSED_PARAMETER(n); return SQLITE_OK; #endif } |