GHS: Remove unnecessary condition.

This commit is contained in:
Stephen Kelly 2015-05-23 14:44:14 +02:00
parent d34467cd58
commit 550e08b012
1 changed files with 5 additions and 7 deletions

View File

@ -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();
}
}