diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-08-18 19:39:54 +0200 |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-08-18 19:39:54 +0200 |
commit | 4988b914e1fb7ca215436738ab08ed199a6f63d2 (patch) | |
tree | c6c2ea4dbf1fca8dc6e0e18ebd84bf0f63f88fe8 /Source/CursesDialog/cmCursesBoolWidget.cxx | |
parent | 11e0ceaeab905075d93e279b87470b99c6401929 (diff) | |
download | cmake-4988b914e1fb7ca215436738ab08ed199a6f63d2.tar.gz |
CursesDialog: don't use else after return
Diffstat (limited to 'Source/CursesDialog/cmCursesBoolWidget.cxx')
-rw-r--r-- | Source/CursesDialog/cmCursesBoolWidget.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/CursesDialog/cmCursesBoolWidget.cxx b/Source/CursesDialog/cmCursesBoolWidget.cxx index 068bcdcfb6..99f7dcc70b 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) |