Browse Source

typo: Match argument name with the header

Ben Boeckel 11 years ago
parent
commit
5af95c396d
1 changed files with 3 additions and 3 deletions
  1. 3 3
      Source/cmGlobalGenerator.cxx

+ 3 - 3
Source/cmGlobalGenerator.cxx

@@ -988,13 +988,13 @@ void cmGlobalGenerator::FillExtensionToLanguageMap(const std::string& l,
     }
 }
 
-bool cmGlobalGenerator::IgnoreFile(const char* l) const
+bool cmGlobalGenerator::IgnoreFile(const char* ext) const
 {
-  if(!this->GetLanguageFromExtension(l).empty())
+  if(!this->GetLanguageFromExtension(ext).empty())
     {
     return false;
     }
-  return (this->IgnoreExtensions.count(l) > 0);
+  return (this->IgnoreExtensions.count(ext) > 0);
 }
 
 bool cmGlobalGenerator::GetLanguageEnabled(const std::string& l) const