From cd1528279c8c3662af0d1641e0d95e05821b6d10 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 15 Oct 2008 10:21:03 -0400 Subject: [PATCH] STYLE: Remove computed but unused variable. An old list of object files for cleaning seems to have been left behind. This removes it. --- Source/cmMakefileExecutableTargetGenerator.cxx | 3 --- Source/cmMakefileLibraryTargetGenerator.cxx | 3 --- 2 files changed, 6 deletions(-) diff --git a/Source/cmMakefileExecutableTargetGenerator.cxx b/Source/cmMakefileExecutableTargetGenerator.cxx index 06305d07c..c74128470 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 1a4383140..9cde469ce 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();