summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog/cmCursesStringWidget.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-08-17 14:46:35 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-08-17 14:46:35 (GMT)
commit67a7dcef45fef6172514d6df1bea3ca94a04735a (patch)
tree7a70d0cd96338acd3664b7bef1dcf59f6c7462bc /Source/CursesDialog/cmCursesStringWidget.cxx
parent29593b79a236f9bd6653ed0ab874444ae4f38f00 (diff)
parente7b842e18955d13f6d9c021bab4a8935bf282744 (diff)
downloadCMake-67a7dcef45fef6172514d6df1bea3ca94a04735a.zip
CMake-67a7dcef45fef6172514d6df1bea3ca94a04735a.tar.gz
CMake-67a7dcef45fef6172514d6df1bea3ca94a04735a.tar.bz2
Merge topic 'readability-named-parameter'
e7b842e1 Make sure unnused parameters are /*named*/
Diffstat (limited to 'Source/CursesDialog/cmCursesStringWidget.cxx')
-rw-r--r--Source/CursesDialog/cmCursesStringWidget.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/CursesDialog/cmCursesStringWidget.cxx b/Source/CursesDialog/cmCursesStringWidget.cxx
index 46b8b86..c16de23 100644
--- a/Source/CursesDialog/cmCursesStringWidget.cxx
+++ b/Source/CursesDialog/cmCursesStringWidget.cxx
@@ -29,12 +29,13 @@ cmCursesStringWidget::cmCursesStringWidget(int width, int height, int left,
field_opts_off(this->Field, O_STATIC);
}
-void cmCursesStringWidget::OnTab(cmCursesMainForm*, WINDOW*)
+void cmCursesStringWidget::OnTab(cmCursesMainForm* /*unused*/,
+ WINDOW* /*unused*/)
{
// FORM* form = fm->GetForm();
}
-void cmCursesStringWidget::OnReturn(cmCursesMainForm* fm, WINDOW*)
+void cmCursesStringWidget::OnReturn(cmCursesMainForm* fm, WINDOW* /*unused*/)
{
FORM* form = fm->GetForm();
if (this->InEdit) {
@@ -56,7 +57,8 @@ void cmCursesStringWidget::OnReturn(cmCursesMainForm* fm, WINDOW*)
}
}
-void cmCursesStringWidget::OnType(int& key, cmCursesMainForm* fm, WINDOW*)
+void cmCursesStringWidget::OnType(int& key, cmCursesMainForm* fm,
+ WINDOW* /*unused*/)
{
form_driver(fm->GetForm(), key);
}