Replace some 'if' with 'else if'
For consistency with the rest of the method.
This commit is contained in:
parent
0d3b89ed76
commit
7d736af60e
|
@ -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 ¬Node;
|
||||
else if (identifier == "CONFIGURATION")
|
||||
return &configurationNode;
|
||||
|
|
Loading…
Reference in New Issue