From 96b10e47bef6b78f64172d39b40b0a9e27b4cfdf Mon Sep 17 00:00:00 2001 From: Robert Maynard Date: Wed, 26 Jun 2019 16:06:21 -0400 Subject: Remove unused variables from cmFindPackageCommand --- Source/cmFindPackageCommand.cxx | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Source/cmFindPackageCommand.cxx b/Source/cmFindPackageCommand.cxx index 828488f..557069b 100644 --- a/Source/cmFindPackageCommand.cxx +++ b/Source/cmFindPackageCommand.cxx @@ -732,12 +732,6 @@ bool cmFindPackageCommand::HandlePackageMode( { this->ConsideredConfigs.clear(); - // Support old capitalization behavior. - std::string upperDir = cmSystemTools::UpperCase(this->Name); - std::string upperFound = cmSystemTools::UpperCase(this->Name); - upperDir += "_DIR"; - upperFound += "_FOUND"; - // Try to find the config file. const char* def = this->Makefile->GetDefinition(this->Variable); -- cgit v0.12