/ Check-in [de20133d]
Login

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

Overview
Comment:Fix a harmless compiler warning about an unused parameter.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | branch-3.21
Files: files | file ages | folders
SHA3-256: de20133d44773f0b3b8869db5c1cb2a90f0426a54c7f40d12a930003343ad8e0
User & Date: drh 2017-10-12 14:18:38
Context
2017-10-14
19:58
Updates to the Makefiles for MSVC. Cherrypick of [ac8786f3f9f35cb6]. check-in: 92eb721f user: mistachkin tags: branch-3.21
2017-10-12
14:18
Fix a harmless compiler warning about an unused parameter. check-in: de20133d user: drh tags: branch-3.21
14:13
Fix the "snapshot-tarball" makefile target, which was broken by the shell.c change of check-in [36acc0a9]. check-in: c643ace2 user: drh tags: branch-3.21
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/pager.c.

  1204   1204   
  1205   1205   #if defined(SQLITE_ENABLE_ATOMIC_WRITE) \
  1206   1206    || defined(SQLITE_ENABLE_BATCH_ATOMIC_WRITE)
  1207   1207     int dc;                           /* Device characteristics */
  1208   1208   
  1209   1209     assert( isOpen(pPager->fd) );
  1210   1210     dc = sqlite3OsDeviceCharacteristics(pPager->fd);
         1211  +#else
         1212  +  UNUSED_PARAMETER(pPager);
  1211   1213   #endif
  1212   1214   
  1213   1215   #ifdef SQLITE_ENABLE_BATCH_ATOMIC_WRITE
  1214   1216     if( dc&SQLITE_IOCAP_BATCH_ATOMIC ){
  1215   1217       return -1;
  1216   1218     }
  1217   1219   #endif