Browse Source

ERR: Fixed unused parameter warning.

Brad King 23 years ago
parent
commit
08f1d2f9e1
2 changed files with 2 additions and 2 deletions
  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.