/ Check-in [68a51f67]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:remove warning in os2Sync() with SQLITE_NO_SYNC set (CVS 5962)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:68a51f67afd54f1c423206a92b36a33af071d5e1
User & Date: pweilbacher 2008-11-26 20:03:21
Context
2008-11-26
20:09
expected error message has trailing space (CVS 5963) check-in: 165bc2d7 user: pweilbacher tags: trunk
20:03
remove warning in os2Sync() with SQLITE_NO_SYNC set (CVS 5962) check-in: 68a51f67 user: pweilbacher tags: trunk
19:56
make os2Randomness() act the same as other platforms with SQLITE_TEST (all zeroed buffer) (CVS 5961) check-in: 5d189df3 user: pweilbacher tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/os_os2.c.

     8      8   **    May you find forgiveness for yourself and forgive others.
     9      9   **    May you share freely, never taking more than you give.
    10     10   **
    11     11   ******************************************************************************
    12     12   **
    13     13   ** This file contains code that is specific to OS/2.
    14     14   **
    15         -** $Id: os_os2.c,v 1.61 2008/11/26 19:56:48 pweilbacher Exp $
           15  +** $Id: os_os2.c,v 1.62 2008/11/26 20:03:21 pweilbacher Exp $
    16     16   */
    17     17   
    18     18   #include "sqliteInt.h"
    19     19   
    20     20   #if SQLITE_OS_OS2
    21     21   
    22     22   /*
................................................................................
   196    196     }
   197    197     sqlite3_sync_count++;
   198    198   #endif
   199    199     /* If we compiled with the SQLITE_NO_SYNC flag, then syncing is a
   200    200     ** no-op
   201    201     */
   202    202   #ifdef SQLITE_NO_SYNC
          203  +  UNUSED_PARAMETER(pFile);
   203    204     return SQLITE_OK;
   204    205   #else
   205    206     return DosResetBuffer( pFile->h ) == NO_ERROR ? SQLITE_OK : SQLITE_IOERR;
   206    207   #endif
   207    208   }
   208    209   
   209    210   /*