diff options
author | Stephen Kelly <steveire@gmail.com> | 2012-12-10 10:32:42 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2012-12-23 15:37:01 (GMT) |
commit | 7d736af60e554e32115fdc188140fd63232d09c9 (patch) | |
tree | ba8df8bcba72225178b4434e9b97dec9d016566a /Source/cmGeneratorExpressionEvaluator.cxx | |
parent | 0d3b89ed7634598ef446da6b279f79b8bce20dd2 (diff) | |
download | CMake-7d736af60e554e32115fdc188140fd63232d09c9.zip CMake-7d736af60e554e32115fdc188140fd63232d09c9.tar.gz CMake-7d736af60e554e32115fdc188140fd63232d09c9.tar.bz2 |
Replace some 'if' with 'else if'
For consistency with the rest of the method.
Diffstat (limited to 'Source/cmGeneratorExpressionEvaluator.cxx')
-rw-r--r-- | Source/cmGeneratorExpressionEvaluator.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmGeneratorExpressionEvaluator.cxx b/Source/cmGeneratorExpressionEvaluator.cxx index 102927e..3b7cfc0 100644 --- a/Source/cmGeneratorExpressionEvaluator.cxx +++ b/Source/cmGeneratorExpressionEvaluator.cxx @@ -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; |