mirror of
https://github.com/sqlite/sqlite.git
synced 2025-10-25 20:58:26 +03:00
More compiler warnings fixed - or in some cases comments are added to explain
that the compiler is wrong. (CVS 2984) FossilOrigin-Name: 507653a98cbd096f836a977408e373640c7cdb8f
This commit is contained in:
@@ -1471,7 +1471,6 @@ static int unixUnlock(OsFile *id, int locktype){
|
||||
*/
|
||||
static int unixClose(OsFile **pId){
|
||||
unixFile *id = (unixFile*)*pId;
|
||||
int rc;
|
||||
|
||||
if( !id ) return SQLITE_OK;
|
||||
unixUnlock(*pId, NO_LOCK);
|
||||
@@ -1508,7 +1507,7 @@ static int unixClose(OsFile **pId){
|
||||
OpenCounter(-1);
|
||||
sqliteFree(id);
|
||||
*pId = 0;
|
||||
return rc;
|
||||
return SQLITE_OK;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user