summaryrefslogtreecommitdiffstats
path: root/Source/CPack
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2009-10-03 12:35:57 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2009-10-03 12:35:57 (GMT)
commiteb91859d6fa9ef2784977568fc43052fbc1084d9 (patch)
treecccede5ade51b25a59c1dd76aef27c1bb54e6fa5 /Source/CPack
parentb1686031e4bf61c86056b639cc1b89c82676e5fd (diff)
downloadCMake-eb91859d6fa9ef2784977568fc43052fbc1084d9.zip
CMake-eb91859d6fa9ef2784977568fc43052fbc1084d9.tar.gz
CMake-eb91859d6fa9ef2784977568fc43052fbc1084d9.tar.bz2
remove unused variables, reported by icpc
Alex
Diffstat (limited to 'Source/CPack')
-rw-r--r--Source/CPack/cmCPackGenerator.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/CPack/cmCPackGenerator.cxx b/Source/CPack/cmCPackGenerator.cxx
index 7c8405e..6224b40 100644
--- a/Source/CPack/cmCPackGenerator.cxx
+++ b/Source/CPack/cmCPackGenerator.cxx
@@ -390,8 +390,6 @@ int cmCPackGenerator::InstallProjectViaInstallScript(
{
const char* cmakeScripts
= this->GetOption("CPACK_INSTALL_SCRIPT");
- std::string currentWorkingDirectory =
- cmSystemTools::GetCurrentWorkingDirectory();
if ( cmakeScripts && *cmakeScripts )
{
cmCPackLogger(cmCPackLog::LOG_OUTPUT,
@@ -460,8 +458,6 @@ int cmCPackGenerator::InstallProjectViaInstallCMakeProjects(
= this->GetOption("CPACK_INSTALL_CMAKE_PROJECTS");
const char* cmakeGenerator
= this->GetOption("CPACK_CMAKE_GENERATOR");
- std::string currentWorkingDirectory =
- cmSystemTools::GetCurrentWorkingDirectory();
if ( cmakeProjects && *cmakeProjects )
{
if ( !cmakeGenerator )