cmGlobalGenerator: Don't use else after return.
This commit is contained in:
parent
f4150bd88d
commit
95925a60fc
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue