1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-12 13:01:09 +03:00

Fix some harmless compiler warnings that were occurring with THREADSAFE=0.

FossilOrigin-Name: 9b191bb4c7c1e1b12b188c0b3eee1f8f587887c8
This commit is contained in:
drh
2011-06-24 11:29:51 +00:00
parent 15d31e1ee1
commit df3aa16e2b
5 changed files with 17 additions and 11 deletions

View File

@@ -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);