cmSystemTools: Remove unnecessary comparison.
We already know the string is uppercase.
This commit is contained in:
parent
803317aab6
commit
d8639733a4
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue