mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-10 07:40:03 -06:00
cmSystemTools: Remove unnecessary comparison.
We already know the string is uppercase.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user