summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-02-21 23:42:53 (GMT)
committerBrad King <brad.king@kitware.com>2014-03-08 18:05:37 (GMT)
commit5af95c396dc780c04444f549b957c2cba7c75309 (patch)
treef021ad25c71c65871ea22c5e041fd3224b82b264
parent2b17626e9b0ffbd5b3adf81e64aae975a35c8b6b (diff)
downloadCMake-5af95c396dc780c04444f549b957c2cba7c75309.zip
CMake-5af95c396dc780c04444f549b957c2cba7c75309.tar.gz
CMake-5af95c396dc780c04444f549b957c2cba7c75309.tar.bz2
typo: Match argument name with the header
-rw-r--r--Source/cmGlobalGenerator.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index 70cc16f..b7af21b 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/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