summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-04-17 19:30:07 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-05-20 15:47:21 (GMT)
commit994dc70bc463699682d71e9a021b924c4b75cb29 (patch)
tree93ae3273af05bb625864338587935c45bea9d091 /Source/cmLocalGenerator.cxx
parent44258cc26c5626f084abed8d7e0e8cb97e4c77c8 (diff)
downloadCMake-994dc70bc463699682d71e9a021b924c4b75cb29.zip
CMake-994dc70bc463699682d71e9a021b924c4b75cb29.tar.gz
CMake-994dc70bc463699682d71e9a021b924c4b75cb29.tar.bz2
Remove unused vector population.
The call to GetEnabledLanguages does not have side-effects.
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index ee5b9d8..e26aa74 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -1084,8 +1084,6 @@ void
cmLocalGenerator::ExpandRuleVariables(std::string& s,
const RuleVariables& replaceValues)
{
- std::vector<std::string> enabledLanguages;
- this->GlobalGenerator->GetEnabledLanguages(enabledLanguages);
this->InsertRuleLauncher(s, replaceValues.CMTarget,
replaceValues.RuleLauncher);
std::string::size_type start = s.find('<');