瀏覽代碼

COMP: fix unused variable

Ken Martin 20 年之前
父節點
當前提交
6e6bfc752b
共有 1 個文件被更改,包括 0 次插入3 次删除
  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
       const char *oldDef = mf.GetDefinition(m_Args[0].c_str());
       m_Executing = true;
-      std::string variable = "${";
-      variable += m_Args[0];
-      variable += "}"; 
       std::vector<std::string>::const_iterator j = m_Args.begin();
       ++j;