summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2003-08-08 13:17:01 (GMT)
committerKen Martin <ken.martin@kitware.com>2003-08-08 13:17:01 (GMT)
commit103f115f25c28a107532be442d148247fe9b5efc (patch)
tree174dd3c27ad0525c69f9941cc14f88d7c32f151b /Source
parent1346a0f34e55df264e722674cdcbfd3aa844c026 (diff)
downloadCMake-103f115f25c28a107532be442d148247fe9b5efc.zip
CMake-103f115f25c28a107532be442d148247fe9b5efc.tar.gz
CMake-103f115f25c28a107532be442d148247fe9b5efc.tar.bz2
remove shadowed variable
Diffstat (limited to 'Source')
-rw-r--r--Source/cmLocalUnixMakefileGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator.cxx b/Source/cmLocalUnixMakefileGenerator.cxx
index 20d1aaa..a4485ee 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());
}