VirtualBox

Changeset 1725 in kBuild for trunk/src/kmk


Ignore:
Timestamp:
Sep 5, 2008 1:43:19 AM (16 years ago)
Author:
bird
Message:

kmk: shutting up warnings.

Location:
trunk/src/kmk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/kbuild.c

    r1622 r1725  
    5454
    5555/*******************************************************************************
    56 *   Internal Functions                                                         *
    57 *******************************************************************************/
    58 /* function.c */
    59 char * abspath(const char *name, char *apath);
    60 
    61 /*******************************************************************************
    6256*   Global Variables                                                           *
    6357*******************************************************************************/
     
    185179    else
    186180        g_pszExeName = xstrdup(szTmp);
     181
     182    (void)argc;
    187183}
    188184
     
    434430{
    435431#ifndef NDEBUG
    436     unsigned i;
     432    int i;
    437433#endif
    438434    struct variable *pVar = lookup_variable(pszName, strlen(pszName));
     
    467463{
    468464#ifndef NDEBUG
    469     unsigned i;
     465    int i;
    470466#endif
    471467    struct variable *pVar = lookup_variable(pszName, strlen(pszName));
     
    498494{
    499495#ifndef NDEBUG
    500     unsigned i;
     496    int i;
    501497#endif
    502498    struct variable *pVar = lookup_variable(pszName, strlen(pszName));
     
    554550    {
    555551#ifndef NDEBUG
    556         unsigned i = strlen(pVar->value);
     552        int i = strlen(pVar->value);
    557553        if (i != pVar->value_length)
    558554        {
     
    784780    if (pVar)
    785781         o = variable_buffer_output(o, pVar->value, pVar->value_length);
     782    (void)pszFuncName;
    786783    return o;
    787784
     
    831828    if (pVar)
    832829         o = variable_buffer_output(o, pVar->value, pVar->value_length);
     830    (void)pszFuncName;
    833831    return o;
    834832
     
    994992    if (pVar)
    995993         o = variable_buffer_output(o, pVar->value, pVar->value_length);
     994    (void)pszFuncName;
    996995    return o;
    997996
     
    10201019                struct variable *pBldType, struct variable *pBldTrg, struct variable *pBldTrgArch)
    10211020{
    1022     int i, j;
     1021    unsigned i;
     1022    unsigned j;
    10231023    size_t cchTmp, cch;
    10241024    char *pszTmp;
     
    11081108    for (i = j = 0; j < sizeof(pSdks->apsz) / sizeof(pSdks->apsz[0]); j++)
    11091109    {
    1110         int k = i;
    11111110        pszIterator = pSdks->apsz[j];
    11121111        while ((pszCur = find_next_token(&pszIterator, &cchCur)) != 0)
     
    15531552
    15541553    kbuild_put_sdks(&Sdks);
     1554    (void)pszFuncName;
    15551555    return o;
    15561556}
     
    18341834
    18351835    kbuild_put_sdks(&Sdks);
     1836    (void)pszFuncName;
     1837    (void)argv;
    18361838    return variable_buffer_output(o, "", 1);
    18371839}
  • trunk/src/kmk/make.h

    r1724 r1725  
    733733#endif
    734734
     735#ifdef KMK
     736extern char *abspath(const char *name, char *apath);
     737extern char *func_breakpoint(char *o, char **argv, const char *funcname);
     738#endif
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette