Avoid else after return

This commit is contained in:
Daniel Pfeifer
2016-09-16 22:45:24 +02:00
parent d9f5d3c50f
commit 516f8edb2e
30 changed files with 204 additions and 187 deletions

View File

@@ -353,10 +353,9 @@ bool cmTargetLinkLibrariesCommand::HandleLibrary(const std::string& lib,
"INTERFACE_LINK_LIBRARIES",
this->Target->GetDebugGeneratorExpressions(lib, llt).c_str());
return true;
} else if (this->CurrentProcessingState !=
ProcessingKeywordPublicInterface &&
this->CurrentProcessingState !=
ProcessingPlainPublicInterface) {
}
if (this->CurrentProcessingState != ProcessingKeywordPublicInterface &&
this->CurrentProcessingState != ProcessingPlainPublicInterface) {
if (this->Target->GetType() == cmState::STATIC_LIBRARY) {
std::string configLib =
this->Target->GetDebugGeneratorExpressions(lib, llt);