cmTarget: Drop 'head' argument from processSources

No call sites need it to be anything but 'this'.
This commit is contained in:
Brad King 2014-07-10 16:12:05 -04:00
parent 4b8130b8de
commit 4db3990e9f
1 changed files with 1 additions and 4 deletions

View File

@ -624,7 +624,6 @@ static bool processSources(cmTarget const* tgt,
std::vector<std::string> &srcs, std::vector<std::string> &srcs,
std::set<std::string> &uniqueSrcs, std::set<std::string> &uniqueSrcs,
cmGeneratorExpressionDAGChecker *dagChecker, cmGeneratorExpressionDAGChecker *dagChecker,
cmTarget const* head,
std::string const& config, bool debugSources) std::string const& config, bool debugSources)
{ {
cmMakefile *mf = tgt->GetMakefile(); cmMakefile *mf = tgt->GetMakefile();
@ -641,7 +640,7 @@ static bool processSources(cmTarget const* tgt,
cmSystemTools::ExpandListArgument((*it)->ge->Evaluate(mf, cmSystemTools::ExpandListArgument((*it)->ge->Evaluate(mf,
config, config,
false, false,
head ? head : tgt, tgt,
tgt, tgt,
dagChecker), dagChecker),
entrySources); entrySources);
@ -771,7 +770,6 @@ void cmTarget::GetSourceFiles(std::vector<std::string> &files,
files, files,
uniqueSrcs, uniqueSrcs,
&dagChecker, &dagChecker,
this,
config, config,
debugSources); debugSources);
@ -788,7 +786,6 @@ void cmTarget::GetSourceFiles(std::vector<std::string> &files,
files, files,
uniqueSrcs, uniqueSrcs,
&dagChecker, &dagChecker,
this,
config, config,
debugSources); debugSources);