1
0
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:
drh
2006-01-20 18:10:57 +00:00
parent 24bd82c396
commit 02afc86171
8 changed files with 26 additions and 25 deletions

View File

@@ -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;
}
/*