diff options
author | Alexander Neundorf <neundorf@kde.org> | 2009-10-03 12:35:57 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2009-10-03 12:35:57 (GMT) |
commit | eb91859d6fa9ef2784977568fc43052fbc1084d9 (patch) | |
tree | cccede5ade51b25a59c1dd76aef27c1bb54e6fa5 /Source/CPack | |
parent | b1686031e4bf61c86056b639cc1b89c82676e5fd (diff) | |
download | CMake-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.cxx | 4 |
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 ) |