cmGlobalGenerator: Don't use else after return.

This commit is contained in:
Stephen Kelly 2015-08-02 09:34:29 +02:00
parent f4150bd88d
commit 95925a60fc
1 changed files with 3 additions and 6 deletions

View File

@ -2070,13 +2070,10 @@ bool cmGlobalGenerator::IsExcluded(cmLocalGenerator* root,
// This target is excluded from its directory. // This target is excluded from its directory.
return true; return true;
} }
else
{
// This target is included in its directory. Check whether the // This target is included in its directory. Check whether the
// directory is excluded. // directory is excluded.
return this->IsExcluded(root, target->GetLocalGenerator()); return this->IsExcluded(root, target->GetLocalGenerator());
} }
}
void void
cmGlobalGenerator::GetEnabledLanguages(std::vector<std::string>& lang) const cmGlobalGenerator::GetEnabledLanguages(std::vector<std::string>& lang) const