diff options
author | Brad King <brad.king@kitware.com> | 2002-06-18 21:20:07 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2002-06-18 21:20:07 (GMT) |
commit | 55f3a3817e2879ad988df4473490823f803025d6 (patch) | |
tree | d328d0b6a652295ec698d9ad7dde0d1c0ad215f3 /Source/CursesDialog | |
parent | 05e162f00ad198d65aa83be1e5ea1d07b0838563 (diff) | |
download | CMake-55f3a3817e2879ad988df4473490823f803025d6.zip CMake-55f3a3817e2879ad988df4473490823f803025d6.tar.gz CMake-55f3a3817e2879ad988df4473490823f803025d6.tar.bz2 |
ERR: Fixed compiler warnings about unused parameters.
Diffstat (limited to 'Source/CursesDialog')
-rw-r--r-- | Source/CursesDialog/ccmake.cxx | 4 | ||||
-rw-r--r-- | Source/CursesDialog/cmCursesBoolWidget.cxx | 2 | ||||
-rw-r--r-- | Source/CursesDialog/cmCursesDummyWidget.cxx | 2 | ||||
-rw-r--r-- | Source/CursesDialog/cmCursesForm.h | 2 | ||||
-rw-r--r-- | Source/CursesDialog/cmCursesLabelWidget.cxx | 2 | ||||
-rw-r--r-- | Source/CursesDialog/cmCursesLongMessageForm.cxx | 2 | ||||
-rw-r--r-- | Source/CursesDialog/cmCursesMainForm.cxx | 2 |
7 files changed, 8 insertions, 8 deletions
diff --git a/Source/CursesDialog/ccmake.cxx b/Source/CursesDialog/ccmake.cxx index 330bf0e..8c9a3c3 100644 --- a/Source/CursesDialog/ccmake.cxx +++ b/Source/CursesDialog/ccmake.cxx @@ -31,7 +31,7 @@ cmCursesForm* cmCursesForm::CurrentForm=0; extern "C" { -void onsig(int sig) +void onsig(int) { if (cmCursesForm::CurrentForm) { @@ -52,7 +52,7 @@ void onsig(int sig) } -void CMakeErrorHandler(const char* message, const char* title, bool& disable) +void CMakeErrorHandler(const char* message, const char* title, bool&) { cmCursesForm::CurrentForm->AddError(message, title); } diff --git a/Source/CursesDialog/cmCursesBoolWidget.cxx b/Source/CursesDialog/cmCursesBoolWidget.cxx index 9124fa7..9284158 100644 --- a/Source/CursesDialog/cmCursesBoolWidget.cxx +++ b/Source/CursesDialog/cmCursesBoolWidget.cxx @@ -28,7 +28,7 @@ cmCursesBoolWidget::cmCursesBoolWidget(int width, int height, this->SetValueAsBool(false); } -bool cmCursesBoolWidget::HandleInput(int& key, cmCursesMainForm* fm, WINDOW* w) +bool cmCursesBoolWidget::HandleInput(int& key, cmCursesMainForm*, WINDOW* w) { // 10 == enter diff --git a/Source/CursesDialog/cmCursesDummyWidget.cxx b/Source/CursesDialog/cmCursesDummyWidget.cxx index fba9448..87b43b6 100644 --- a/Source/CursesDialog/cmCursesDummyWidget.cxx +++ b/Source/CursesDialog/cmCursesDummyWidget.cxx @@ -24,7 +24,7 @@ cmCursesDummyWidget::cmCursesDummyWidget(int width, int height, } -bool cmCursesDummyWidget::HandleInput(int& key, cmCursesMainForm*, WINDOW* ) +bool cmCursesDummyWidget::HandleInput(int&, cmCursesMainForm*, WINDOW* ) { return false; } diff --git a/Source/CursesDialog/cmCursesForm.h b/Source/CursesDialog/cmCursesForm.h index e5a65f2..7af6f15 100644 --- a/Source/CursesDialog/cmCursesForm.h +++ b/Source/CursesDialog/cmCursesForm.h @@ -42,7 +42,7 @@ public: // Description: // During a CMake run, an error handle should add errors // to be displayed afterwards. - virtual void AddError(const char* message, const char* title) {}; + virtual void AddError(const char*, const char*) {} // Description: // Turn debugging on. This will create ccmakelog.txt. diff --git a/Source/CursesDialog/cmCursesLabelWidget.cxx b/Source/CursesDialog/cmCursesLabelWidget.cxx index 2c3ead8..2bc96d4 100644 --- a/Source/CursesDialog/cmCursesLabelWidget.cxx +++ b/Source/CursesDialog/cmCursesLabelWidget.cxx @@ -31,7 +31,7 @@ cmCursesLabelWidget::~cmCursesLabelWidget() { } -bool cmCursesLabelWidget::HandleInput(int& key, cmCursesMainForm*, WINDOW* ) +bool cmCursesLabelWidget::HandleInput(int&, cmCursesMainForm*, WINDOW* ) { // Static text. No input is handled here. return false; diff --git a/Source/CursesDialog/cmCursesLongMessageForm.cxx b/Source/CursesDialog/cmCursesLongMessageForm.cxx index 9d111a6..dd09956 100644 --- a/Source/CursesDialog/cmCursesLongMessageForm.cxx +++ b/Source/CursesDialog/cmCursesLongMessageForm.cxx @@ -113,7 +113,7 @@ void cmCursesLongMessageForm::PrintKeys() } -void cmCursesLongMessageForm::Render(int left, int top, int width, int height) +void cmCursesLongMessageForm::Render(int, int, int, int) { int x,y; getmaxyx(stdscr, y, x); diff --git a/Source/CursesDialog/cmCursesMainForm.cxx b/Source/CursesDialog/cmCursesMainForm.cxx index 099e79c..ab6a4b3 100644 --- a/Source/CursesDialog/cmCursesMainForm.cxx +++ b/Source/CursesDialog/cmCursesMainForm.cxx @@ -586,7 +586,7 @@ int cmCursesMainForm::RunCMake(bool generateMakefiles) return 0; } -void cmCursesMainForm::AddError(const char* message, const char* title) +void cmCursesMainForm::AddError(const char* message, const char*) { m_Errors.push_back(message); } |