diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-01-27 22:52:50 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-02-06 18:04:10 (GMT) |
commit | d8639733a42149ca1402dcae427f2142ab0cf037 (patch) | |
tree | cf4e4333e48f820681ccbb9730f17bd8891cd378 /Source/cmSystemTools.cxx | |
parent | 803317aab622e4f12e7d342be5bbb4f16b088efd (diff) | |
download | CMake-d8639733a42149ca1402dcae427f2142ab0cf037.zip CMake-d8639733a42149ca1402dcae427f2142ab0cf037.tar.gz CMake-d8639733a42149ca1402dcae427f2142ab0cf037.tar.bz2 |
cmSystemTools: Remove unnecessary comparison.
We already know the string is uppercase.
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r-- | Source/cmSystemTools.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index bb007ef..d3ab36b 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -376,7 +376,7 @@ bool cmSystemTools::IsInternallyOn(const char* val) { *c = static_cast<char>(toupper(*c)); } - return (v == "I_ON" || v == "i_on"); + return v == "I_ON"; } bool cmSystemTools::IsOn(const char* val) |