cmGlobalGenerator: Don't use else after return.

This commit is contained in:
Stephen Kelly 2015-08-02 09:34:29 +02:00
parent f4150bd88d
commit 95925a60fc
1 changed files with 3 additions and 6 deletions

View File

@ -2070,12 +2070,9 @@ 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
{ // directory is excluded.
// This target is included in its directory. Check whether the return this->IsExcluded(root, target->GetLocalGenerator());
// directory is excluded.
return this->IsExcluded(root, target->GetLocalGenerator());
}
} }
void void