cmFunctionCommand: Remove ineffectual code.
The name variable is never used.
This commit is contained in:
parent
1116698a89
commit
f19692342b
|
@ -175,11 +175,6 @@ IsFunctionBlocked(const cmListFileFunction& lff, cmMakefile &mf,
|
||||||
// if this is the endfunction for this function then execute
|
// if this is the endfunction for this function then execute
|
||||||
if (!this->Depth)
|
if (!this->Depth)
|
||||||
{
|
{
|
||||||
std::string name = this->Args[0];
|
|
||||||
name += "( ";
|
|
||||||
name += cmJoin(this->Args, " ");
|
|
||||||
name += " )";
|
|
||||||
|
|
||||||
// create a new command and add it to cmake
|
// create a new command and add it to cmake
|
||||||
cmFunctionHelperCommand *f = new cmFunctionHelperCommand();
|
cmFunctionHelperCommand *f = new cmFunctionHelperCommand();
|
||||||
f->Args = this->Args;
|
f->Args = this->Args;
|
||||||
|
|
Loading…
Reference in New Issue