diff options
author | drh <drh@noemail.net> | 2015-07-24 17:14:03 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2015-07-24 17:14:03 +0000 |
commit | 6bacdc21aebcdebcbc2b035a6ae25772b4d1b641 (patch) | |
tree | 75b59261366c71018dcfb4226c0b561375c7b9f9 /src/test_malloc.c | |
parent | a4d5ae8fa2162be7348bced27ed18969f80494b3 (diff) | |
download | sqlite-6bacdc21aebcdebcbc2b035a6ae25772b4d1b641.tar.gz sqlite-6bacdc21aebcdebcbc2b035a6ae25772b4d1b641.zip |
Fix compiler warnings. Get the new sqlite3_result_zeroblob64() working
on loadable extensions.
FossilOrigin-Name: f8991e6f726485301c80d2dbb05e7d5c0d283b5d
Diffstat (limited to 'src/test_malloc.c')
-rw-r--r-- | src/test_malloc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test_malloc.c b/src/test_malloc.c index ed46e7a8d..3ab177dcb 100644 --- a/src/test_malloc.c +++ b/src/test_malloc.c @@ -938,7 +938,7 @@ static int test_config_pagecache( int objc, Tcl_Obj *CONST objv[] ){ - int sz, N, rc; + int sz, N; Tcl_Obj *pRes; static char *buf = 0; if( objc!=3 ){ @@ -957,10 +957,10 @@ static int test_config_pagecache( Tcl_SetObjResult(interp, pRes); if( sz<0 ){ - rc = sqlite3_config(SQLITE_CONFIG_PAGECACHE, 0, 0, 0); + sqlite3_config(SQLITE_CONFIG_PAGECACHE, 0, 0, 0); }else{ buf = malloc( sz*N ); - rc = sqlite3_config(SQLITE_CONFIG_PAGECACHE, buf, sz, N); + sqlite3_config(SQLITE_CONFIG_PAGECACHE, buf, sz, N); } return TCL_OK; } |