clang-tidy: remove else after break and continue

This commit is contained in:
Daniel Pfeifer
2017-04-21 10:06:12 +02:00
parent 1b0c7bca5e
commit b26577c92a
14 changed files with 80 additions and 85 deletions

View File

@@ -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");