Changeset 3065 for trunk/src/kDepPre


Ignore:
Timestamp:
Sep 30, 2017, 2:52:35 PM (8 years ago)
Author:
bird
Message:

misc gcc warning fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kDepPre/kDepPre.c

    r2955 r3065  
    294294                case 'l':
    295295                {
    296                     const char *psz = &argv[i][2];
    297                     if (*psz == '=')
    298                         psz++;
    299                     if (!strcmp(psz, "c"))
     296                    const char *pszValue = &argv[i][2];
     297                    if (*pszValue == '=')
     298                        pszValue++;
     299                    if (!strcmp(pszValue, "c"))
    300300                        ;
    301301                    else
    302302                    {
    303                         fprintf(stderr, "%s: error: The '%s' language is not supported.\n", argv[0], psz);
     303                        fprintf(stderr, "%s: error: The '%s' language is not supported.\n", argv[0], pszValue);
    304304                        return 1;
    305305                    }
Note: See TracChangeset for help on using the changeset viewer.