mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
STYLE: the temporary variable is not necessary
Alex
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user