Fossil with Commonmark

Check-in [a7056e6499]
Login

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

Overview
Comment:Fix harmless compiler warning.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:a7056e6499407c3eee76437e93ec43a43aaf6007edbb1352e6184ec28720b3e6
User & Date: mistachkin 2018-05-21 01:01:30
Context
2018-05-29
14:23
Fix the "mv" command so that it will move directories. Patch from Dingyuan Wang. check-in: 0a34967beb user: drh tags: trunk
2018-05-21
01:01
Fix harmless compiler warning. check-in: a7056e6499 user: mistachkin tags: trunk
2018-05-19
06:47
Fix 2 (harmless) compiler warnings about unused variables check-in: 961787df06 user: jan.nijtmans tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/db.c.

  1091   1091   */
  1092   1092   LOCAL sqlite3 *db_open(const char *zDbName){
  1093   1093     int rc;
  1094   1094     sqlite3 *db;
  1095   1095   
  1096   1096     if( g.fSqlTrace ) fossil_trace("-- sqlite3_open: [%s]\n", zDbName);
  1097   1097     if( strcmp(zDbName, g.nameOfExe)==0 ){
         1098  +    extern int sqlite3_appendvfs_init(
         1099  +      sqlite3 *, char **, const sqlite3_api_routines *
         1100  +    );
  1098   1101       sqlite3_appendvfs_init(0,0,0);
  1099   1102       g.zVfsName = "apndvfs";
  1100   1103     }
  1101   1104     rc = sqlite3_open_v2(
  1102   1105          zDbName, &db,
  1103   1106          SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE,
  1104   1107          g.zVfsName