浏览代码

ERR: Fixed unused parameter warning.

Brad King 23 年之前
父节点
当前提交
08f1d2f9e1
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      Source/cmFunctionBlocker.h
  2. 1 1
      Source/cmIfCommand.h

+ 1 - 1
Source/cmFunctionBlocker.h

@@ -38,7 +38,7 @@ public:
    * should this function blocker be removed, useful when one function adds a
    * blocker and another must remove it 
    */
-  virtual bool ShouldRemove(const cmListFileFunction& lff,
+  virtual bool ShouldRemove(const cmListFileFunction&,
                             cmMakefile&) {return false;}
 
   /**

+ 1 - 1
Source/cmIfCommand.h

@@ -67,7 +67,7 @@ public:
    * This is called when the command is first encountered in
    * the CMakeLists.txt file.
    */
-  virtual bool InitialPass(std::vector<std::string> const& args) { return false; }
+  virtual bool InitialPass(std::vector<std::string> const&) { return false; }
 
   /**
    * The name of the command as specified in CMakeList.txt.