Browse Source

cmGlobalGenerator: Don't use else after return.

Stephen Kelly 10 years ago
parent
commit
95925a60fc
1 changed files with 3 additions and 6 deletions
  1. 3 6
      Source/cmGlobalGenerator.cxx

+ 3 - 6
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