From f7ec3c2a7670c2a1da7c9cae6ba77b963c595cf3 Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Sun, 22 Sep 2002 07:53:55 -0400 Subject: [PATCH] compiler warning --- Source/CursesDialog/cmCursesMainForm.cxx | 2 +- Source/cmWriteFileCommand.cxx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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++;