summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-08-02 07:34:29 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-08-24 18:03:29 (GMT)
commit95925a60fce8a7b60fbea9873d9bb9fadf47cd02 (patch)
tree02ac096c0565c2e87ad4ffbaafa04b1a563b8d6f /Source/cmGlobalGenerator.cxx
parentf4150bd88d80f4a236ea5b0d648d8cc3122092fc (diff)
downloadCMake-95925a60fce8a7b60fbea9873d9bb9fadf47cd02.zip
CMake-95925a60fce8a7b60fbea9873d9bb9fadf47cd02.tar.gz
CMake-95925a60fce8a7b60fbea9873d9bb9fadf47cd02.tar.bz2
cmGlobalGenerator: Don't use else after return.
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r--Source/cmGlobalGenerator.cxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index 503c455..71b00c4 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -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