aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2011-03-08 13:06:41 +0000
committerdrh <drh@noemail.net>2011-03-08 13:06:41 +0000
commit87e79aefefb800a9789bded1c31cd9ec0d90c187 (patch)
treedd83d31dad9d8828bc50696a71234c0cce59bbbc /src/os_unix.c
parentd50ffc416fc47ad9ed6c643d4aaba0df2e59254c (diff)
downloadsqlite-87e79aefefb800a9789bded1c31cd9ec0d90c187.tar.gz
sqlite-87e79aefefb800a9789bded1c31cd9ec0d90c187.zip
Fix two compiler warnings. No functional code changes.
FossilOrigin-Name: c829868aa2254c5e2268cdb803462cc6ec5cb71e
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index 40e4b89cd..b2374beec 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -1357,6 +1357,7 @@ static int _posixUnlock(sqlite3_file *id, int eFileLock, int handleNFSUnlock){
if( eFileLock==SHARED_LOCK ){
#if !defined(__APPLE__) || !SQLITE_ENABLE_LOCKING_STYLE
+ (void)handleNFSUnlock;
assert( handleNFSUnlock==0 );
#endif
#if defined(__APPLE__) && SQLITE_ENABLE_LOCKING_STYLE