summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/CursesDialog/cmCursesMainForm.cxx2
-rw-r--r--Source/cmWriteFileCommand.cxx1
2 files changed, 1 insertions, 2 deletions
diff --git a/Source/CursesDialog/cmCursesMainForm.cxx b/Source/CursesDialog/cmCursesMainForm.cxx
index 9c00638..41b49b7 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 9a37850..8198713 100644
--- a/Source/cmWriteFileCommand.cxx
+++ b/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++;