summaryrefslogtreecommitdiffstats
path: root/Source/CursesDialog/cmCursesBoolWidget.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-08-18 17:39:54 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2016-08-18 17:39:54 (GMT)
commit4988b914e1fb7ca215436738ab08ed199a6f63d2 (patch)
treec6c2ea4dbf1fca8dc6e0e18ebd84bf0f63f88fe8 /Source/CursesDialog/cmCursesBoolWidget.cxx
parent11e0ceaeab905075d93e279b87470b99c6401929 (diff)
downloadCMake-4988b914e1fb7ca215436738ab08ed199a6f63d2.zip
CMake-4988b914e1fb7ca215436738ab08ed199a6f63d2.tar.gz
CMake-4988b914e1fb7ca215436738ab08ed199a6f63d2.tar.bz2
CursesDialog: don't use else after return
Diffstat (limited to 'Source/CursesDialog/cmCursesBoolWidget.cxx')
-rw-r--r--Source/CursesDialog/cmCursesBoolWidget.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/CursesDialog/cmCursesBoolWidget.cxx b/Source/CursesDialog/cmCursesBoolWidget.cxx
index 068bcdc..99f7dcc 100644
--- a/Source/CursesDialog/cmCursesBoolWidget.cxx
+++ b/Source/CursesDialog/cmCursesBoolWidget.cxx
@@ -40,9 +40,8 @@ bool cmCursesBoolWidget::HandleInput(int& key, cmCursesMainForm* /*fm*/,
touchwin(w);
wrefresh(w);
return true;
- } else {
- return false;
}
+ return false;
}
void cmCursesBoolWidget::SetValueAsBool(bool value)