/ Check-in [280fd3a4]
Login
SQLite training in Houston TX on 2019-11-05 (details)
Part of the 2019 Tcl Conference

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
SHA1: 280fd3a482978b4a488a8b425721e451c2a30745
User & Date: mistachkin 2015-09-09 17:23:48
Context
2015-09-09
19:27
Fix a possible NULL pointer deref when using SQLITE_ENABLE_MEMORY_MANAGEMENT. check-in: 89bfdbfe user: drh tags: trunk
17:23
Fix harmless compiler warning. check-in: 280fd3a4 user: mistachkin tags: trunk
17:17
Fix harmless compiler warnings in FTS5. check-in: 2cdb1877 user: mistachkin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/where.c.

   267    267     WhereScan *pScan,       /* The WhereScan object being initialized */
   268    268     WhereClause *pWC,       /* The WHERE clause to be scanned */
   269    269     int iCur,               /* Cursor to scan for */
   270    270     int iColumn,            /* Column to scan for */
   271    271     u32 opMask,             /* Operator(s) to scan for */
   272    272     Index *pIdx             /* Must be compatible with this index */
   273    273   ){
   274         -  int j;
          274  +  int j = 0;
   275    275   
   276    276     /* memset(pScan, 0, sizeof(*pScan)); */
   277    277     pScan->pOrigWC = pWC;
   278    278     pScan->pWC = pWC;
   279    279     pScan->pIdxExpr = 0;
   280    280     if( pIdx ){
   281    281       j = iColumn;