GHS: Remove unnecessary condition.
This commit is contained in:
parent
d34467cd58
commit
550e08b012
|
@ -27,13 +27,11 @@ cmLocalGhsMultiGenerator::~cmLocalGhsMultiGenerator() {}
|
|||
void cmLocalGhsMultiGenerator::Generate()
|
||||
{
|
||||
cmGeneratorTargetsType tgts = this->GetMakefile()->GetGeneratorTargets();
|
||||
if (!tgts.empty())
|
||||
|
||||
for (cmGeneratorTargetsType::iterator l = tgts.begin(); l != tgts.end();
|
||||
++l)
|
||||
{
|
||||
for (cmGeneratorTargetsType::iterator l = tgts.begin(); l != tgts.end();
|
||||
++l)
|
||||
{
|
||||
cmGhsMultiTargetGenerator tg(l->second->Target);
|
||||
tg.Generate();
|
||||
}
|
||||
cmGhsMultiTargetGenerator tg(l->second->Target);
|
||||
tg.Generate();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue