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/CTest/cmCTestCoverageHandler.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/CTest/cmCTestCoverageHandler.cxx')
-rw-r--r-- | Source/CTest/cmCTestCoverageHandler.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/CTest/cmCTestCoverageHandler.cxx b/Source/CTest/cmCTestCoverageHandler.cxx index 4d970d5..87c532c 100644 --- a/Source/CTest/cmCTestCoverageHandler.cxx +++ b/Source/CTest/cmCTestCoverageHandler.cxx @@ -2222,7 +2222,8 @@ void cmCTestCoverageHandler::LoadLabels(const char* dir) 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. std::string label = line.substr(1); int id = this->GetLabelId(label); |