mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-11 23:43:58 +03:00
cmGlobalGenerator: Don't use else after return.
This commit is contained in:
1 parent
f4150bd88d
commit
95925a60fc
1 file changed
+3
-6
@@ -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
|
||||
|
||||
Reference in new issue
Block a user