aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 3ed21e423..513e193dd 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1865,6 +1865,10 @@ int sqlite3_setlk_timeout(sqlite3 *db, int ms, int flags){
}
sqlite3BtreeLeaveAll(db);
#endif
+#if !defined(SQLITE_ENABLE_API_ARMOR) && !defined(SQLITE_ENABLE_SETLK_TIMEOUT)
+ UNUSED_PARAMETER(db);
+ UNUSED_PARAMETER(flags);
+#endif
return SQLITE_OK;
}