mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Fix left-over occurrences of else-after-return
Fix issues diagnosed by clang-tidy [readability-else-after-return] These were mostly only showing up on OSX. Signed-off-by: Matthias Maennich <matthias@maennich.net>
This commit is contained in:
committed by
Brad King
parent
2033abff0d
commit
870dd06da1
@@ -2294,10 +2294,9 @@ bool cmFileCommand::HandleReadElfCommand(std::vector<std::string> const& args)
|
||||
if (errorArg.GetString().empty()) {
|
||||
this->SetError(error);
|
||||
return false;
|
||||
} else {
|
||||
this->Makefile->AddDefinition(errorArg.GetString(), error.c_str());
|
||||
return true;
|
||||
}
|
||||
this->Makefile->AddDefinition(errorArg.GetString(), error.c_str());
|
||||
return true;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user