/ Check-in [74328de1]
Login

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

Overview
Comment:Fix a harmless compiler warning on MacOS.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 74328de1d720fb35a97b476034406ca17d35ff5f
User & Date: drh 2013-12-03 00:11:40
Context
2013-12-03
02:52
Change some unreachable test conditions to NEVER(). check-in: 7d99858b user: drh tags: trunk
00:11
Fix a harmless compiler warning on MacOS. check-in: 74328de1 user: drh tags: trunk
2013-12-02
21:25
Another #if SQLITE_VERSION_NUMBER macro in speedtest1.c for compatibility with older versions of SQLite. check-in: bc8eacc7 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/build.c.

  2786   2786     Db *pDb;             /* The specific table containing the indexed database */
  2787   2787     int iDb;             /* Index of the database that is being written */
  2788   2788     Token *pName = 0;    /* Unqualified name of the index to create */
  2789   2789     struct ExprList_item *pListItem; /* For looping over pList */
  2790   2790     const Column *pTabCol;           /* A column in the table */
  2791   2791     int nExtra = 0;                  /* Space allocated for zExtra[] */
  2792   2792     int nExtraCol;                   /* Number of extra columns needed */
  2793         -  char *zExtra;                    /* Extra space after the Index object */
         2793  +  char *zExtra = 0;                /* Extra space after the Index object */
  2794   2794     Index *pPk = 0;      /* PRIMARY KEY index for WITHOUT ROWID tables */
  2795   2795   
  2796   2796     assert( pParse->nErr==0 );      /* Never called with prior errors */
  2797   2797     if( db->mallocFailed || IN_DECLARE_VTAB ){
  2798   2798       goto exit_create_index;
  2799   2799     }
  2800   2800     if( SQLITE_OK!=sqlite3ReadSchema(pParse) ){