cmSystemTools: Remove unnecessary comparison.

We already know the string is uppercase.
This commit is contained in:
Stephen Kelly 2015-01-27 23:52:50 +01:00
parent 803317aab6
commit d8639733a4
1 changed files with 1 additions and 1 deletions

View File

@ -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)