1
0
Эх сурвалжийг харах

Style: Don't put an else after a return.

Stephen Kelly 12 жил өмнө
parent
commit
e3b7eac593

+ 0 - 3
Source/cmGeneratorExpressionEvaluator.cxx

@@ -266,8 +266,6 @@ struct CompilerIdNode : public cmGeneratorExpressionNode
       {
       return compilerId ? compilerId : "";
       }
-    else
-    {
     cmsys::RegularExpression compilerIdValidator;
     compilerIdValidator.compile("^[A-Za-z0-9_]*$");
     if (!compilerIdValidator.find(parameters.begin()->c_str()))
@@ -286,7 +284,6 @@ struct CompilerIdNode : public cmGeneratorExpressionNode
       return "1";
       }
     return "0";
-    }
   }
 };