From 4db3990e9f3c11add85cba339b7a976f6f0fd3c5 Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 10 Jul 2014 16:12:05 -0400 Subject: [PATCH] cmTarget: Drop 'head' argument from processSources No call sites need it to be anything but 'this'. --- Source/cmTarget.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 5865c61b8..d1938d1c2 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -624,7 +624,6 @@ static bool processSources(cmTarget const* tgt, std::vector &srcs, std::set &uniqueSrcs, cmGeneratorExpressionDAGChecker *dagChecker, - cmTarget const* head, std::string const& config, bool debugSources) { cmMakefile *mf = tgt->GetMakefile(); @@ -641,7 +640,7 @@ static bool processSources(cmTarget const* tgt, cmSystemTools::ExpandListArgument((*it)->ge->Evaluate(mf, config, false, - head ? head : tgt, + tgt, tgt, dagChecker), entrySources); @@ -771,7 +770,6 @@ void cmTarget::GetSourceFiles(std::vector &files, files, uniqueSrcs, &dagChecker, - this, config, debugSources); @@ -788,7 +786,6 @@ void cmTarget::GetSourceFiles(std::vector &files, files, uniqueSrcs, &dagChecker, - this, config, debugSources);