summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-10-15 14:21:03 (GMT)
committerBrad King <brad.king@kitware.com>2008-10-15 14:21:03 (GMT)
commitcd1528279c8c3662af0d1641e0d95e05821b6d10 (patch)
tree479e0e6302f288f422cd339a41a1ea5907aef3f5 /Source
parentcc51ddd34be500cac386258909c7097f49be438c (diff)
downloadCMake-cd1528279c8c3662af0d1641e0d95e05821b6d10.zip
CMake-cd1528279c8c3662af0d1641e0d95e05821b6d10.tar.gz
CMake-cd1528279c8c3662af0d1641e0d95e05821b6d10.tar.bz2
STYLE: Remove computed but unused variable.
An old list of object files for cleaning seems to have been left behind. This removes it.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmMakefileExecutableTargetGenerator.cxx3
-rw-r--r--Source/cmMakefileLibraryTargetGenerator.cxx3
2 files changed, 0 insertions, 6 deletions
diff --git a/Source/cmMakefileExecutableTargetGenerator.cxx b/Source/cmMakefileExecutableTargetGenerator.cxx
index 06305d0..c741284 100644
--- a/Source/cmMakefileExecutableTargetGenerator.cxx
+++ b/Source/cmMakefileExecutableTargetGenerator.cxx
@@ -380,9 +380,6 @@ void cmMakefileExecutableTargetGenerator::WriteExecutableRule(bool relink)
buildObjs += variableNameExternal;
buildObjs += ")";
}
- std::string cleanObjs = "$(";
- cleanObjs += variableName;
- cleanObjs += ")";
cmLocalGenerator::RuleVariables vars;
vars.Language = linkLanguage;
diff --git a/Source/cmMakefileLibraryTargetGenerator.cxx b/Source/cmMakefileLibraryTargetGenerator.cxx
index 1a43831..9cde469 100644
--- a/Source/cmMakefileLibraryTargetGenerator.cxx
+++ b/Source/cmMakefileLibraryTargetGenerator.cxx
@@ -717,9 +717,6 @@ void cmMakefileLibraryTargetGenerator::WriteLibraryRules
buildObjs += variableNameExternal;
buildObjs += ")";
}
- std::string cleanObjs = "$(";
- cleanObjs += variableName;
- cleanObjs += ")";
cmLocalGenerator::RuleVariables vars;
vars.TargetPDB = targetOutPathPDB.c_str();