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

This commit is contained in:
Stephen Kelly 2013-06-11 10:49:40 +02:00
parent ad304a2f7d
commit e3b7eac593
1 changed files with 0 additions and 3 deletions

View File

@ -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";
}
}
};