/ Check-in [f61a7058]
Login

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

Overview
Comment:Fix harmless compiler warning in LEMON.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: f61a70589ac7e05008a362bd9d5b7bde5d07a758
User & Date: mistachkin 2014-01-14 10:17:21
Context
2014-01-16
15:31
Always use available indices to optimize LIKE operators even if the pattern of the LIKE operator has a COLLATE modifier. This fixes an ineffiency that was introduced into 3.7.15 by check-in [8542e6180d4] on 2012-12-08. check-in: 16bd5478 user: drh tags: trunk
04:37
Merge trunk changes. Fix a possible NULL-pointer deference in WITH clause name resolution. check-in: 7f953b56 user: drh tags: common-table-expr
2014-01-14
10:17
Fix harmless compiler warning in LEMON. check-in: f61a7058 user: mistachkin tags: trunk
10:17
For the Win32 VFS, defining winShmMutexHeld should be controlled by NDEBUG, not SQLITE_DEBUG. check-in: 1e131094 user: mistachkin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to tool/lemon.c.

    79     79     if( nIn==0 ) return;
    80     80     memcpy(&zBuf[*pnUsed], zIn, nIn);
    81     81     *pnUsed += nIn;
    82     82     while( (-iWidth)>nIn ){ zBuf[(*pnUsed)++] = ' '; iWidth++; }
    83     83     zBuf[*pnUsed] = 0;
    84     84   }
    85     85   static int lemon_vsprintf(char *str, const char *zFormat, va_list ap){
    86         -  int i, j, k, c, size;
           86  +  int i, j, k, c;
    87     87     int nUsed = 0;
    88     88     const char *z;
    89     89     char zTemp[50];
    90     90     str[0] = 0;
    91     91     for(i=j=0; (c = zFormat[i])!=0; i++){
    92     92       if( c=='%' ){
    93     93         int iWidth = 0;