mirror of
https://github.com/Kitware/CMake.git
synced 2026-07-23 07:50:56 +00:00
Remove unused variables
This commit is contained in:
@@ -600,9 +600,6 @@ void cmExtraCodeLiteGenerator::CreateNewProjectFile(
|
|||||||
// which may have an acompanying header, one for all other files
|
// which may have an acompanying header, one for all other files
|
||||||
std::string projectType;
|
std::string projectType;
|
||||||
|
|
||||||
std::vector<std::string> headerExts =
|
|
||||||
this->GlobalGenerator->GetCMakeInstance()->GetHeaderExtensions();
|
|
||||||
|
|
||||||
std::map<std::string, cmSourceFile*> cFiles;
|
std::map<std::string, cmSourceFile*> cFiles;
|
||||||
std::set<std::string> otherFiles;
|
std::set<std::string> otherFiles;
|
||||||
|
|
||||||
|
|||||||
@@ -48,8 +48,6 @@ void cmOSXBundleGenerator::CreateAppBundle(const std::string& targetName,
|
|||||||
cmSystemTools::MakeDirectory(out.c_str());
|
cmSystemTools::MakeDirectory(out.c_str());
|
||||||
this->Makefile->AddCMakeOutputFile(out);
|
this->Makefile->AddCMakeOutputFile(out);
|
||||||
|
|
||||||
std::string newoutpath = out;
|
|
||||||
|
|
||||||
// Configure the Info.plist file. Note that it needs the executable name
|
// Configure the Info.plist file. Note that it needs the executable name
|
||||||
// to be set.
|
// to be set.
|
||||||
std::string plist = outpath;
|
std::string plist = outpath;
|
||||||
@@ -60,7 +58,7 @@ void cmOSXBundleGenerator::CreateAppBundle(const std::string& targetName,
|
|||||||
this->LocalGenerator->GenerateAppleInfoPList(this->GT, targetName,
|
this->LocalGenerator->GenerateAppleInfoPList(this->GT, targetName,
|
||||||
plist.c_str());
|
plist.c_str());
|
||||||
this->Makefile->AddCMakeOutputFile(plist);
|
this->Makefile->AddCMakeOutputFile(plist);
|
||||||
outpath = newoutpath;
|
outpath = out;
|
||||||
}
|
}
|
||||||
|
|
||||||
void cmOSXBundleGenerator::CreateFramework(const std::string& targetName,
|
void cmOSXBundleGenerator::CreateFramework(const std::string& targetName,
|
||||||
|
|||||||
@@ -196,7 +196,6 @@ void cmSystemTools::ExpandRegistryValues(std::string& source,
|
|||||||
while (regEntry.find(source)) {
|
while (regEntry.find(source)) {
|
||||||
// the arguments are the second match
|
// the arguments are the second match
|
||||||
std::string key = regEntry.match(1);
|
std::string key = regEntry.match(1);
|
||||||
std::string val;
|
|
||||||
std::string reg = "[";
|
std::string reg = "[";
|
||||||
reg += key + "]";
|
reg += key + "]";
|
||||||
cmSystemTools::ReplaceString(source, reg.c_str(), "/registry");
|
cmSystemTools::ReplaceString(source, reg.c_str(), "/registry");
|
||||||
|
|||||||
Reference in New Issue
Block a user