Remove unused variables from cmFindPackageCommand

This commit is contained in:
Robert Maynard
2019-06-26 16:06:21 -04:00
parent 06f1560a58
commit 96b10e47be

View File

@@ -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);