summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog/ccmake.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-08-16 23:49:57 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2016-08-16 23:49:57 (GMT)
commite7b842e18955d13f6d9c021bab4a8935bf282744 (patch)
treeafa5a21f85b46b54b541d914236ae61400c83ae4 /Source/CursesDialog/ccmake.cxx
parente240a7c0176450e092e2398148c1e13f8940c239 (diff)
downloadCMake-e7b842e18955d13f6d9c021bab4a8935bf282744.zip
CMake-e7b842e18955d13f6d9c021bab4a8935bf282744.tar.gz
CMake-e7b842e18955d13f6d9c021bab4a8935bf282744.tar.bz2
Make sure unnused parameters are /*named*/
Diffstat (limited to 'Source/CursesDialog/ccmake.cxx')
-rw-r--r--Source/CursesDialog/ccmake.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/CursesDialog/ccmake.cxx b/Source/CursesDialog/ccmake.cxx
index 606c954..80bb55d 100644
--- a/Source/CursesDialog/ccmake.cxx
+++ b/Source/CursesDialog/ccmake.cxx
@@ -51,7 +51,7 @@ cmCursesForm* cmCursesForm::CurrentForm = CM_NULLPTR;
extern "C" {
-void onsig(int)
+void onsig(int /*unused*/)
{
if (cmCursesForm::CurrentForm) {
endwin();
@@ -70,8 +70,8 @@ void onsig(int)
}
}
-void CMakeMessageHandler(const char* message, const char* title, bool&,
- void* clientData)
+void CMakeMessageHandler(const char* message, const char* title,
+ bool& /*unused*/, void* clientData)
{
cmCursesForm* self = static_cast<cmCursesForm*>(clientData);
self->AddError(message, title);