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,8 +27,7 @@ cmLocalGhsMultiGenerator::~cmLocalGhsMultiGenerator() {}
void cmLocalGhsMultiGenerator::Generate()
{
cmGeneratorTargetsType tgts = this->GetMakefile()->GetGeneratorTargets();
if (!tgts.empty())
{
for (cmGeneratorTargetsType::iterator l = tgts.begin(); l != tgts.end();
++l)
{
@ -36,4 +35,3 @@ void cmLocalGhsMultiGenerator::Generate()
tg.Generate();
}
}
}