Browse Source

Merge topic 'unused-cleanup'

994dc70 Remove unused vector population.
44258cc Remove unused typedef.
0a4d7d8 Remove unused marker for a variable which is now used.
Brad King 12 years ago
parent
commit
e41ef3d339
3 changed files with 0 additions and 4 deletions
  1. 0 1
      Source/cmGeneratorExpressionEvaluator.cxx
  2. 0 2
      Source/cmLocalGenerator.cxx
  3. 0 1
      Source/cmTarget.cxx

+ 0 - 1
Source/cmGeneratorExpressionEvaluator.cxx

@@ -1183,7 +1183,6 @@ GeneratorExpressionContent::~GeneratorExpressionContent()
   deleteAll(this->IdentifierChildren);
 
   typedef std::vector<cmGeneratorExpressionEvaluator*> EvaluatorVector;
-  typedef std::vector<cmGeneratorExpressionToken> TokenVector;
   std::vector<EvaluatorVector>::const_iterator pit =
                                                   this->ParamChildren.begin();
   const std::vector<EvaluatorVector>::const_iterator pend =

+ 0 - 2
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('<');

+ 0 - 1
Source/cmTarget.cxx

@@ -5319,7 +5319,6 @@ void cmTarget::ComputeImportInfo(std::string const& desired_config,
                                  ImportInfo& info,
                                  cmTarget *headTarget)
 {
-  (void)headTarget;
   // This method finds information about an imported target from its
   // properties.  The "IMPORTED_" namespace is reserved for properties
   // defined by the project exporting the target.