summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-07-10 20:12:05 (GMT)
committerBrad King <brad.king@kitware.com>2014-07-14 13:46:53 (GMT)
commit4db3990e9f3c11add85cba339b7a976f6f0fd3c5 (patch)
treef8a69a09e96b2ae1a7eb81367be554fec3194318 /Source
parent4b8130b8de223674d567bdff5e156b1bdc1d5c27 (diff)
downloadCMake-4db3990e9f3c11add85cba339b7a976f6f0fd3c5.zip
CMake-4db3990e9f3c11add85cba339b7a976f6f0fd3c5.tar.gz
CMake-4db3990e9f3c11add85cba339b7a976f6f0fd3c5.tar.bz2
cmTarget: Drop 'head' argument from processSources
No call sites need it to be anything but 'this'.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmTarget.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 5865c61..d1938d1 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -624,7 +624,6 @@ static bool processSources(cmTarget const* tgt,
std::vector<std::string> &srcs,
std::set<std::string> &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<std::string> &files,
files,
uniqueSrcs,
&dagChecker,
- this,
config,
debugSources);
@@ -788,7 +786,6 @@ void cmTarget::GetSourceFiles(std::vector<std::string> &files,
files,
uniqueSrcs,
&dagChecker,
- this,
config,
debugSources);