Replace some 'if' with 'else if'

For consistency with the rest of the method.
This commit is contained in:
Stephen Kelly 2012-12-10 11:32:42 +01:00
parent 0d3b89ed76
commit 7d736af60e
1 changed files with 4 additions and 4 deletions

View File

@ -553,13 +553,13 @@ cmGeneratorExpressionNode* GetNode(const std::string &identifier)
{
if (identifier == "0")
return &zeroNode;
if (identifier == "1")
else if (identifier == "1")
return &oneNode;
if (identifier == "AND")
else if (identifier == "AND")
return &andNode;
if (identifier == "OR")
else if (identifier == "OR")
return &orNode;
if (identifier == "NOT")
else if (identifier == "NOT")
return &notNode;
else if (identifier == "CONFIGURATION")
return &configurationNode;