Merge topic 'genex-cleanup'

7d736af Replace some 'if' with 'else if'
This commit is contained in:
Brad King 2013-01-03 13:53:11 -05:00 committed by CMake Topic Stage
commit 690d6baece
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;