From 103f115f25c28a107532be442d148247fe9b5efc Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Fri, 8 Aug 2003 09:17:01 -0400 Subject: [PATCH] remove shadowed variable --- Source/cmLocalUnixMakefileGenerator.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/cmLocalUnixMakefileGenerator.cxx b/Source/cmLocalUnixMakefileGenerator.cxx index 20d1aaa12..a4485ee05 100644 --- a/Source/cmLocalUnixMakefileGenerator.cxx +++ b/Source/cmLocalUnixMakefileGenerator.cxx @@ -455,7 +455,7 @@ void cmLocalUnixMakefileGenerator::OutputTargetRules(std::ostream& fout) (l->second.GetType() == cmTarget::SHARED_LIBRARY) || (l->second.GetType() == cmTarget::MODULE_LIBRARY)) { - std::string path = m_LibraryOutputPath; + path = m_LibraryOutputPath; path += this->GetFullTargetName(l->first.c_str(), l->second); fout << " \\\n" << cmSystemTools::ConvertToOutputPath(path.c_str()); @@ -470,7 +470,7 @@ void cmLocalUnixMakefileGenerator::OutputTargetRules(std::ostream& fout) l->second.GetType() == cmTarget::WIN32_EXECUTABLE) && l->second.IsInAll()) { - std::string path = m_ExecutableOutputPath; + path = m_ExecutableOutputPath; path += this->GetFullTargetName(l->first.c_str(), l->second); fout << " \\\n" << cmSystemTools::ConvertToOutputPath(path.c_str()); }