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

Fix harmless compiler warnings.

FossilOrigin-Name: 1e6a698aab9270637d3ea00fd6b0e94f4172e875
This commit is contained in:
drh
2011-12-11 02:29:25 +00:00
parent 4b3ac73c2f
commit 13e0ea9923
4 changed files with 10 additions and 10 deletions

View File

@@ -2014,8 +2014,8 @@ static int dotlockUnlock(sqlite3_file *id, int eFileLock) {
rc = osRmdir(zLockFile);
if( rc<0 && errno==ENOTDIR ) rc = osUnlink(zLockFile);
if( rc<0 ){
int rc = 0;
int tErrno = errno;
rc = 0;
if( ENOENT != tErrno ){
rc = SQLITE_IOERR_UNLOCK;
}