diff options
author | drh <drh@noemail.net> | 2011-06-24 11:29:51 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2011-06-24 11:29:51 +0000 |
commit | df3aa16e2bd0543ec80be0703a429cbcf7923403 (patch) | |
tree | 59d98e3b03f9d45debfc5214c0a6892bed4c43df /src/os_unix.c | |
parent | 15d31e1ee1e504e3a0a83ece6e27e6983c0da07f (diff) | |
download | sqlite-df3aa16e2bd0543ec80be0703a429cbcf7923403.tar.gz sqlite-df3aa16e2bd0543ec80be0703a429cbcf7923403.zip |
Fix some harmless compiler warnings that were occurring with THREADSAFE=0.
FossilOrigin-Name: 9b191bb4c7c1e1b12b188c0b3eee1f8f587887c8
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index 682e74c95..f9a12a2fb 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -3672,7 +3672,7 @@ static void unixShmPurge(unixFile *pFd){ if( p && p->nRef==0 ){ int i; assert( p->pInode==pFd->pInode ); - if( p->mutex ) sqlite3_mutex_free(p->mutex); + sqlite3_mutex_free(p->mutex); for(i=0; i<p->nRegion; i++){ if( p->h>=0 ){ munmap(p->apRegion[i], p->szRegion); |