mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-21 14:40:26 -06:00
clang-tidy: remove else after break and continue
This commit is contained in:
@@ -32,7 +32,8 @@ bool cmAddSubDirectoryCommand::InitialPass(
|
||||
if (*i == "EXCLUDE_FROM_ALL") {
|
||||
excludeFromAll = true;
|
||||
continue;
|
||||
} else if (binArg.empty()) {
|
||||
}
|
||||
if (binArg.empty()) {
|
||||
binArg = *i;
|
||||
} else {
|
||||
this->SetError("called with incorrect number of arguments");
|
||||
|
||||
Reference in New Issue
Block a user