Browse Source

COMP: fix unused variable

Ken Martin 20 years ago
parent
commit
6e6bfc752b
1 changed files with 0 additions and 3 deletions
  1. 0 3
      Source/cmForEachCommand.cxx

+ 0 - 3
Source/cmForEachCommand.cxx

@@ -36,9 +36,6 @@ IsFunctionBlocked(const cmListFileFunction& lff, cmMakefile &mf)
       // store the old value
       // store the old value
       const char *oldDef = mf.GetDefinition(m_Args[0].c_str());
       const char *oldDef = mf.GetDefinition(m_Args[0].c_str());
       m_Executing = true;
       m_Executing = true;
-      std::string variable = "${";
-      variable += m_Args[0];
-      variable += "}"; 
       std::vector<std::string>::const_iterator j = m_Args.begin();
       std::vector<std::string>::const_iterator j = m_Args.begin();
       ++j;
       ++j;