summaryrefslogtreecommitdiffstats
path: root/Source/cmFunctionCommand.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-02-21 10:01:21 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-02-21 10:02:03 (GMT)
commitf19692342ba41ddb2638e118e2864bceca77af59 (patch)
tree5fab616003e51f0a51510714d07e0162e90277f8 /Source/cmFunctionCommand.cxx
parent1116698a89e4057300481bac8f38bfd95f4e9ce5 (diff)
downloadCMake-f19692342ba41ddb2638e118e2864bceca77af59.zip
CMake-f19692342ba41ddb2638e118e2864bceca77af59.tar.gz
CMake-f19692342ba41ddb2638e118e2864bceca77af59.tar.bz2
cmFunctionCommand: Remove ineffectual code.
The name variable is never used.
Diffstat (limited to 'Source/cmFunctionCommand.cxx')
-rw-r--r--Source/cmFunctionCommand.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/Source/cmFunctionCommand.cxx b/Source/cmFunctionCommand.cxx
index a4d9357..9297688 100644
--- a/Source/cmFunctionCommand.cxx
+++ b/Source/cmFunctionCommand.cxx
@@ -175,11 +175,6 @@ IsFunctionBlocked(const cmListFileFunction& lff, cmMakefile &mf,
// if this is the endfunction for this function then execute
if (!this->Depth)
{
- std::string name = this->Args[0];
- name += "( ";
- name += cmJoin(this->Args, " ");
- name += " )";
-
// create a new command and add it to cmake
cmFunctionHelperCommand *f = new cmFunctionHelperCommand();
f->Args = this->Args;