cmGlobalGenerator: Don't use else after return.

This commit is contained in:
Stephen Kelly committed 2015-08-24 20:03:29 +02:00
1 parent f4150bd88d
commit 95925a60fc
1 file changed
+3 -6
+3 -6
View File
@@ -2070,12 +2070,9 @@ bool cmGlobalGenerator::IsExcluded(cmLocalGenerator* root,
// This target is excluded from its directory.
return true;
}
else
{
// This target is included in its directory. Check whether the
// directory is excluded.
return this->IsExcluded(root, target->GetLocalGenerator());
}
// This target is included in its directory. Check whether the
// directory is excluded.
return this->IsExcluded(root, target->GetLocalGenerator());
}
void