From 1e4e2f993c5914d329cbee355035166e12151081 Mon Sep 17 00:00:00 2001 From: Pavel Solodovnikov Date: Fri, 26 May 2017 19:52:31 +0300 Subject: Remove unused variables --- Source/cmOSXBundleGenerator.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Source/cmOSXBundleGenerator.cxx') diff --git a/Source/cmOSXBundleGenerator.cxx b/Source/cmOSXBundleGenerator.cxx index 332fa83088..beddc6e6d4 100644 --- a/Source/cmOSXBundleGenerator.cxx +++ b/Source/cmOSXBundleGenerator.cxx @@ -48,8 +48,6 @@ void cmOSXBundleGenerator::CreateAppBundle(const std::string& targetName, cmSystemTools::MakeDirectory(out.c_str()); this->Makefile->AddCMakeOutputFile(out); - std::string newoutpath = out; - // Configure the Info.plist file. Note that it needs the executable name // to be set. std::string plist = outpath; @@ -60,7 +58,7 @@ void cmOSXBundleGenerator::CreateAppBundle(const std::string& targetName, this->LocalGenerator->GenerateAppleInfoPList(this->GT, targetName, plist.c_str()); this->Makefile->AddCMakeOutputFile(plist); - outpath = newoutpath; + outpath = out; } void cmOSXBundleGenerator::CreateFramework(const std::string& targetName, -- cgit v1.2.1