STYLE: the temporary variable is not necessary

Alex
This commit is contained in:
Alexander Neundorf 2007-08-31 13:45:02 -04:00
parent d338e69c01
commit b7527db958
1 changed files with 1 additions and 3 deletions

View File

@ -647,9 +647,7 @@ bool cmGlobalGenerator::IgnoreFile(const char* l)
bool cmGlobalGenerator::GetLanguageEnabled(const char* l) const
{
std::map<cmStdString, bool>::const_iterator langIt
= this->LanguageEnabled.find(l);
return (langIt!= this->LanguageEnabled.end());
return (this->LanguageEnabled.find(l)!= this->LanguageEnabled.end());
}
void cmGlobalGenerator::ClearEnabledLanguages()