浏览代码

COMP: Fix shadowed local variable created by previous cmake_force change.

Brad King 19 年之前
父节点
当前提交
a8426f55e5
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      Source/cmLocalUnixMakefileGenerator3.cxx

+ 0 - 4
Source/cmLocalUnixMakefileGenerator3.cxx

@@ -740,14 +740,10 @@ cmLocalUnixMakefileGenerator3
 
   // Special symbolic target that never exists to force dependers to
   // run their rules.
-  {
-  std::vector<std::string> no_depends;
-  std::vector<std::string> no_commands;
   this->WriteMakeRule
     (makefileStream,
      "A target that is always out of date.",
      "cmake_force", no_depends, no_commands, true);
-  }
 
   // Variables for reference by other rules.
   this->WriteMakeVariables(makefileStream);