summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-09-22 11:53:55 (GMT)
committerKen Martin <ken.martin@kitware.com>2002-09-22 11:53:55 (GMT)
commitf7ec3c2a7670c2a1da7c9cae6ba77b963c595cf3 (patch)
treeb51ee8d9ec32340460a2c9c83073f26ded162f15
parenta77f9f0715f0c3e73f480e2f0eb011648acd9458 (diff)
downloadCMake-f7ec3c2a7670c2a1da7c9cae6ba77b963c595cf3.zip
CMake-f7ec3c2a7670c2a1da7c9cae6ba77b963c595cf3.tar.gz
CMake-f7ec3c2a7670c2a1da7c9cae6ba77b963c595cf3.tar.bz2
compiler warning
-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++;