diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-04-21 08:06:12 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-04-21 08:44:07 (GMT) |
commit | b26577c92ae59fa23be49bcaa3404efe36646e1a (patch) | |
tree | 012e6dd431092905593339451118cf434aefa206 /Source/CursesDialog/cmCursesLongMessageForm.cxx | |
parent | 1b0c7bca5ede6eb3965cb23471c6530a08d0d2d5 (diff) | |
download | CMake-b26577c92ae59fa23be49bcaa3404efe36646e1a.zip CMake-b26577c92ae59fa23be49bcaa3404efe36646e1a.tar.gz CMake-b26577c92ae59fa23be49bcaa3404efe36646e1a.tar.bz2 |
clang-tidy: remove else after break and continue
Diffstat (limited to 'Source/CursesDialog/cmCursesLongMessageForm.cxx')
-rw-r--r-- | Source/CursesDialog/cmCursesLongMessageForm.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/CursesDialog/cmCursesLongMessageForm.cxx b/Source/CursesDialog/cmCursesLongMessageForm.cxx index d299547..7fb065d 100644 --- a/Source/CursesDialog/cmCursesLongMessageForm.cxx +++ b/Source/CursesDialog/cmCursesLongMessageForm.cxx @@ -159,7 +159,8 @@ void cmCursesLongMessageForm::HandleInput() // quit if (key == 'o' || key == 'e') { break; - } else if (key == KEY_DOWN || key == ctrl('n')) { + } + if (key == KEY_DOWN || key == ctrl('n')) { form_driver(this->Form, REQ_SCR_FLINE); } else if (key == KEY_UP || key == ctrl('p')) { form_driver(this->Form, REQ_SCR_BLINE); |