diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-08-18 18:36:29 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2016-08-18 18:36:29 (GMT) |
commit | 7b6349da4dc968691f1a374211fcc153c8b4f1c6 (patch) | |
tree | bb0fc76955ef3166c3416522fef009c9d65ab7f3 /Source/cmExprParserHelper.cxx | |
parent | 50ad1e0a144ae1f2267a4966789e5a16372f458e (diff) | |
download | CMake-7b6349da4dc968691f1a374211fcc153c8b4f1c6.zip CMake-7b6349da4dc968691f1a374211fcc153c8b4f1c6.tar.gz CMake-7b6349da4dc968691f1a374211fcc153c8b4f1c6.tar.bz2 |
CMake: don't use else after return
Diffstat (limited to 'Source/cmExprParserHelper.cxx')
-rw-r--r-- | Source/cmExprParserHelper.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmExprParserHelper.cxx b/Source/cmExprParserHelper.cxx index 0771a4e..1a101ab 100644 --- a/Source/cmExprParserHelper.cxx +++ b/Source/cmExprParserHelper.cxx @@ -81,10 +81,9 @@ int cmExprParserHelper::LexInput(char* buf, int maxlen) this->CurrentLine++; } return (1); - } else { - buf[0] = '\n'; - return (0); } + buf[0] = '\n'; + return (0); } void cmExprParserHelper::Error(const char* str) |