mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 00:11:07 -06:00
cmFunctionCommand: Remove ineffectual code.
The name variable is never used.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user