summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-05-21 19:19:22 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-05-21 19:19:22 (GMT)
commite41ef3d3394b942408b5e6203aca1392d7a421a0 (patch)
tree1cdaf2062982683c814c2e03b2e6f13d790eb4c5 /Source
parentbdb0bab8ee5093dcace10b4da9064225e31bfea0 (diff)
parent994dc70bc463699682d71e9a021b924c4b75cb29 (diff)
downloadCMake-e41ef3d3394b942408b5e6203aca1392d7a421a0.zip
CMake-e41ef3d3394b942408b5e6203aca1392d7a421a0.tar.gz
CMake-e41ef3d3394b942408b5e6203aca1392d7a421a0.tar.bz2
Merge topic 'unused-cleanup'
994dc70 Remove unused vector population. 44258cc Remove unused typedef. 0a4d7d8 Remove unused marker for a variable which is now used.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmGeneratorExpressionEvaluator.cxx1
-rw-r--r--Source/cmLocalGenerator.cxx2
-rw-r--r--Source/cmTarget.cxx1
3 files changed, 0 insertions, 4 deletions
diff --git a/Source/cmGeneratorExpressionEvaluator.cxx b/Source/cmGeneratorExpressionEvaluator.cxx
index 6618e83..b969ca4 100644
--- a/Source/cmGeneratorExpressionEvaluator.cxx
+++ b/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 =
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index c07653f..d346f16 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('<');
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index f5f6a90..d0227ec 100644
--- a/Source/cmTarget.cxx
+++ b/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.