summaryrefslogtreecommitdiffstats
path: root/Source/cmOSXBundleGenerator.cxx
diff options
context:
space:
mode:
authorPavel Solodovnikov <hellyeahdominate@gmail.com>2017-05-26 16:52:31 (GMT)
committerPavel Solodovnikov <hellyeahdominate@gmail.com>2017-05-26 16:52:31 (GMT)
commit1e4e2f993c5914d329cbee355035166e12151081 (patch)
tree9ecee5161a2162d15630e0e4fd8fdeb0fadc696d /Source/cmOSXBundleGenerator.cxx
parent25486156305dc0693366c0c7e5dc6c7035ab49a9 (diff)
downloadCMake-1e4e2f993c5914d329cbee355035166e12151081.zip
CMake-1e4e2f993c5914d329cbee355035166e12151081.tar.gz
CMake-1e4e2f993c5914d329cbee355035166e12151081.tar.bz2
Remove unused variables
Diffstat (limited to 'Source/cmOSXBundleGenerator.cxx')
-rw-r--r--Source/cmOSXBundleGenerator.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/cmOSXBundleGenerator.cxx b/Source/cmOSXBundleGenerator.cxx
index 332fa83..beddc6e 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,