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/kmk/kbuild.c

    r3046 r3065  
    4848
    4949#include "kbuild.h"
     50#include "k/kDefs.h"
    5051
    5152#include <assert.h>
     
    20012002    struct variable *pOutBase   = kbuild_get_object_base(pTarget, pSource, "outbase");
    20022003    struct variable *pObjSuff   = kbuild_get_object_suffix(pTarget, pSource, pTool, pType, pBldTrg, pBldTrgArch, "objsuff");
    2003     struct variable *pDefs, *pIncs, *pFlags, *pDeps, *pOrderDeps, *pDirDep, *pDep, *pVar, *pOutput, *pOutputMaybe;
     2004    struct variable *pDeps, *pOrderDeps, *pDirDep, *pDep, *pVar, *pOutput, *pOutputMaybe;
     2005#if 0 /** @todo figure out why this isn't used */
     2006    struct variable *pDefs, *pIncs, *pFlags;
     2007#endif
    20042008    struct variable *pObj       = kbuild_set_object_name_and_dep_and_dirdep_and_PATH_target_source(pTarget, pSource, pOutBase, pObjSuff, "obj", &pDep, &pDirDep);
    20052009    int fInstallOldVars = 0;
     
    20542058
    20552059
     2060#if 0 /** @todo figure out why this isn't used */
    20562061    pDefs      = kbuild_collect_source_prop(pTarget, pSource, pTool, &Sdks, pType, pBldType, pBldTrg, pBldTrgArch, pBldTrgCpu, NULL,
    20572062                                            ST("DEFS"),  ST("defs"), 1/* left-to-right */);
     
    20602065    pFlags     = kbuild_collect_source_prop(pTarget, pSource, pTool, &Sdks, pType, pBldType, pBldTrg, pBldTrgArch, pBldTrgCpu, NULL,
    20612066                                            ST("FLAGS"), ST("flags"), 1/* left-to-right */);
     2067#endif
    20622068    pDeps      = kbuild_collect_source_prop(pTarget, pSource, pTool, &Sdks, pType, pBldType, pBldTrg, pBldTrgArch, pBldTrgCpu, pDefPath,
    20632069                                            ST("DEPS"),  ST("deps"), 1/* left-to-right */);
Note: See TracChangeset for help on using the changeset viewer.