summaryrefslogtreecommitdiffstats
path: root/Source
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
parentb1686031e4bf61c86056b639cc1b89c82676e5fd (diff)
downloadCMake-eb91859d6fa9ef2784977568fc43052fbc1084d9.zip
CMake-eb91859d6fa9ef2784977568fc43052fbc1084d9.tar.gz
CMake-eb91859d6fa9ef2784977568fc43052fbc1084d9.tar.bz2
remove unused variables, reported by icpc
Alex
Diffstat (limited to 'Source')
-rw-r--r--Source/CPack/cmCPackGenerator.cxx4
-rw-r--r--Source/cmMakefileTargetGenerator.cxx3
2 files changed, 0 insertions, 7 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 )
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx
index 7ccccee..c4f1d32 100644
--- a/Source/cmMakefileTargetGenerator.cxx
+++ b/Source/cmMakefileTargetGenerator.cxx
@@ -576,9 +576,6 @@ cmMakefileTargetGenerator
sourceFile = this->Convert(sourceFile.c_str(),
cmLocalGenerator::NONE,
cmLocalGenerator::SHELL);
- std::string objectFile = this->Convert(obj.c_str(),
- cmLocalGenerator::START_OUTPUT,
- cmLocalGenerator::SHELL);
// Construct the build message.
std::vector<std::string> no_commands;