mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Fix harmless compiler warnings.
FossilOrigin-Name: b0badb99023e23bef0e2064cec58f2b279af0c0b
This commit is contained in:
@@ -2082,9 +2082,11 @@ int sqlite3TempInMemory(const sqlite3 *db){
|
||||
return ( db->temp_store!=1 );
|
||||
#endif
|
||||
#if SQLITE_TEMP_STORE==3
|
||||
UNUSED_PARAMETER(db);
|
||||
return 1;
|
||||
#endif
|
||||
#if SQLITE_TEMP_STORE<1 || SQLITE_TEMP_STORE>3
|
||||
UNUSED_PARAMETER(db);
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
@@ -3356,7 +3358,9 @@ int sqlite3_file_control(sqlite3 *db, const char *zDbName, int op, void *pArg){
|
||||
*/
|
||||
int sqlite3_test_control(int op, ...){
|
||||
int rc = 0;
|
||||
#ifndef SQLITE_OMIT_BUILTIN_TEST
|
||||
#ifdef SQLITE_OMIT_BUILTIN_TEST
|
||||
UNUSED_PARAMETER(op);
|
||||
#else
|
||||
va_list ap;
|
||||
va_start(ap, op);
|
||||
switch( op ){
|
||||
|
Reference in New Issue
Block a user