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()))
|
||||
|
@ -287,7 +285,6 @@ struct CompilerIdNode : public cmGeneratorExpressionNode
|
|||
}
|
||||
return "0";
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue