diff options
author | pweilbacher <pweilbacher@noemail.net> | 2008-11-26 20:03:21 +0000 |
---|---|---|
committer | pweilbacher <pweilbacher@noemail.net> | 2008-11-26 20:03:21 +0000 |
commit | d102d1134b2f008d4edb877688d75ef19c7a92c8 (patch) | |
tree | 0460d868e9ffbaaea5392bfc8d11c1ebc86c0f2c /src | |
parent | efdabe9e64e7526ca08540ed88a7aff81ec4eefb (diff) | |
download | sqlite-d102d1134b2f008d4edb877688d75ef19c7a92c8.tar.gz sqlite-d102d1134b2f008d4edb877688d75ef19c7a92c8.zip |
remove warning in os2Sync() with SQLITE_NO_SYNC set (CVS 5962)
FossilOrigin-Name: 68a51f67afd54f1c423206a92b36a33af071d5e1
Diffstat (limited to 'src')
-rw-r--r-- | src/os_os2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/os_os2.c b/src/os_os2.c index fb175e8c9..8bcdb8c0b 100644 --- a/src/os_os2.c +++ b/src/os_os2.c @@ -12,7 +12,7 @@ ** ** This file contains code that is specific to OS/2. ** -** $Id: os_os2.c,v 1.61 2008/11/26 19:56:48 pweilbacher Exp $ +** $Id: os_os2.c,v 1.62 2008/11/26 20:03:21 pweilbacher Exp $ */ #include "sqliteInt.h" @@ -200,6 +200,7 @@ static int os2Sync( sqlite3_file *id, int flags ){ ** no-op */ #ifdef SQLITE_NO_SYNC + UNUSED_PARAMETER(pFile); return SQLITE_OK; #else return DosResetBuffer( pFile->h ) == NO_ERROR ? SQLITE_OK : SQLITE_IOERR; |