Browse Source

compiler warning

Ken Martin 23 years ago
parent
commit
f7ec3c2a76
2 changed files with 1 additions and 2 deletions
  1. 1 1
      Source/CursesDialog/cmCursesMainForm.cxx
  2. 0 1
      Source/cmWriteFileCommand.cxx

+ 1 - 1
Source/CursesDialog/cmCursesMainForm.cxx

@@ -989,7 +989,7 @@ void cmCursesMainForm::HandleInput()
     }
 }
 
-void cmCursesMainForm::LoadCache(const char *dir)
+void cmCursesMainForm::LoadCache(const char *)
 
 {
   m_CMakeInstance->LoadCache(); 

+ 0 - 1
Source/cmWriteFileCommand.cxx

@@ -30,7 +30,6 @@ bool cmWriteFileCommand::InitialPass(std::vector<std::string> const& argsIn)
   std::string message;
   std::vector<std::string>::const_iterator i = args.begin();
 
-  bool send_error = false;
   std::string fileName = *i;
   i++;