diff --git a/Source/CursesDialog/cmCursesMainForm.cxx b/Source/CursesDialog/cmCursesMainForm.cxx index 9c00638e04..41b49b7612 100644 --- a/Source/CursesDialog/cmCursesMainForm.cxx +++ b/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(); diff --git a/Source/cmWriteFileCommand.cxx b/Source/cmWriteFileCommand.cxx index 9a37850468..8198713b9f 100644 --- a/Source/cmWriteFileCommand.cxx +++ b/Source/cmWriteFileCommand.cxx @@ -30,7 +30,6 @@ bool cmWriteFileCommand::InitialPass(std::vector const& argsIn) std::string message; std::vector::const_iterator i = args.begin(); - bool send_error = false; std::string fileName = *i; i++;