Remove unused vector population.
The call to GetEnabledLanguages does not have side-effects.
This commit is contained in:
parent
44258cc26c
commit
994dc70bc4
@ -1084,8 +1084,6 @@ void
|
|||||||
cmLocalGenerator::ExpandRuleVariables(std::string& s,
|
cmLocalGenerator::ExpandRuleVariables(std::string& s,
|
||||||
const RuleVariables& replaceValues)
|
const RuleVariables& replaceValues)
|
||||||
{
|
{
|
||||||
std::vector<std::string> enabledLanguages;
|
|
||||||
this->GlobalGenerator->GetEnabledLanguages(enabledLanguages);
|
|
||||||
this->InsertRuleLauncher(s, replaceValues.CMTarget,
|
this->InsertRuleLauncher(s, replaceValues.CMTarget,
|
||||||
replaceValues.RuleLauncher);
|
replaceValues.RuleLauncher);
|
||||||
std::string::size_type start = s.find('<');
|
std::string::size_type start = s.find('<');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user