From f19692342ba41ddb2638e118e2864bceca77af59 Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Sat, 21 Feb 2015 11:01:21 +0100 Subject: [PATCH] cmFunctionCommand: Remove ineffectual code. The name variable is never used. --- Source/cmFunctionCommand.cxx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Source/cmFunctionCommand.cxx b/Source/cmFunctionCommand.cxx index a4d93579e..9297688c5 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;