diff --git a/Source/cmForEachCommand.cxx b/Source/cmForEachCommand.cxx index 5b11271990..3ae244efb1 100644 --- a/Source/cmForEachCommand.cxx +++ b/Source/cmForEachCommand.cxx @@ -36,9 +36,6 @@ IsFunctionBlocked(const cmListFileFunction& lff, cmMakefile &mf) // store the old value const char *oldDef = mf.GetDefinition(m_Args[0].c_str()); m_Executing = true; - std::string variable = "${"; - variable += m_Args[0]; - variable += "}"; std::vector::const_iterator j = m_Args.begin(); ++j;