mirror of
https://github.com/reactos/CMake.git
synced 2024-12-26 21:46:17 +00:00
Style: Don't put an else after a return.
This commit is contained in:
parent
ad304a2f7d
commit
e3b7eac593
@ -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";
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user