summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestLaunch.cxx
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2017-04-21 08:06:12 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2017-04-21 08:44:07 (GMT)
commitb26577c92ae59fa23be49bcaa3404efe36646e1a (patch)
tree012e6dd431092905593339451118cf434aefa206 /Source/CTest/cmCTestLaunch.cxx
parent1b0c7bca5ede6eb3965cb23471c6530a08d0d2d5 (diff)
downloadCMake-b26577c92ae59fa23be49bcaa3404efe36646e1a.zip
CMake-b26577c92ae59fa23be49bcaa3404efe36646e1a.tar.gz
CMake-b26577c92ae59fa23be49bcaa3404efe36646e1a.tar.bz2
clang-tidy: remove else after break and continue
Diffstat (limited to 'Source/CTest/cmCTestLaunch.cxx')
-rw-r--r--Source/CTest/cmCTestLaunch.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestLaunch.cxx b/Source/CTest/cmCTestLaunch.cxx
index 7195bb3..a782150 100644
--- a/Source/CTest/cmCTestLaunch.cxx
+++ b/Source/CTest/cmCTestLaunch.cxx
@@ -306,7 +306,8 @@ void cmCTestLaunch::LoadLabels()
if (line.empty() || line[0] == '#') {
// Ignore blank and comment lines.
continue;
- } else if (line[0] == ' ') {
+ }
+ if (line[0] == ' ') {
// Label lines appear indented by one space.
if (inTarget || inSource) {
this->Labels.insert(line.c_str() + 1);