mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-12 13:01:09 +03:00
Fix a harmless compiler warning in os_unix.c.
FossilOrigin-Name: b9d1fb5d44e0a6ffc00ee987f178e448d7516e579beecdeeb387e69aef588921
This commit is contained in:
@@ -3182,7 +3182,7 @@ static int afpClose(sqlite3_file *id) {
|
||||
if( pFile->pInode ){
|
||||
unixInodeInfo *pInode = pFile->pInode;
|
||||
sqlite3_mutex_enter(pInode->pLockMutex);
|
||||
if( pFile->pInode->nLock ){
|
||||
if( pInode->nLock ){
|
||||
/* If there are outstanding locks, do not actually close the file just
|
||||
** yet because that would clear those locks. Instead, add the file
|
||||
** descriptor to pInode->aPending. It will be automatically closed when
|
||||
|
||||
Reference in New Issue
Block a user