1
0
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:
drh
2018-09-06 19:36:29 +00:00
parent c50f75df96
commit cb4e4b00b3
3 changed files with 9 additions and 9 deletions

View File

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