summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-01-27 22:52:50 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-02-06 18:04:10 (GMT)
commitd8639733a42149ca1402dcae427f2142ab0cf037 (patch)
treecf4e4333e48f820681ccbb9730f17bd8891cd378 /Source/cmSystemTools.cxx
parent803317aab622e4f12e7d342be5bbb4f16b088efd (diff)
downloadCMake-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.cxx2
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)