diff options
author | drh <> | 2025-02-25 20:02:58 +0000 |
---|---|---|
committer | drh <> | 2025-02-25 20:02:58 +0000 |
commit | 1c03a344004cbb40f702222470e021c18d0177a7 (patch) | |
tree | 8e414453fd239c52aa6a78467bfbf38be1bba57e /src | |
parent | 82769e7d04a7633f05e79777cf87472f3afb8b4e (diff) | |
download | sqlite-1c03a344004cbb40f702222470e021c18d0177a7.tar.gz sqlite-1c03a344004cbb40f702222470e021c18d0177a7.zip |
Fix harmless "unused parameter" compiler warnings.
FossilOrigin-Name: 7a68a3ead8e6c75203641542256bcfa05067bed4bf9035452fbd134534801a08
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 4 |
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; } |