remove shadowed variable

This commit is contained in:
Ken Martin 2003-08-08 09:17:01 -04:00
parent 1346a0f34e
commit 103f115f25
1 changed files with 2 additions and 2 deletions

View File

@ -455,7 +455,7 @@ void cmLocalUnixMakefileGenerator::OutputTargetRules(std::ostream& fout)
(l->second.GetType() == cmTarget::SHARED_LIBRARY) || (l->second.GetType() == cmTarget::SHARED_LIBRARY) ||
(l->second.GetType() == cmTarget::MODULE_LIBRARY)) (l->second.GetType() == cmTarget::MODULE_LIBRARY))
{ {
std::string path = m_LibraryOutputPath; path = m_LibraryOutputPath;
path += this->GetFullTargetName(l->first.c_str(), l->second); path += this->GetFullTargetName(l->first.c_str(), l->second);
fout << " \\\n" fout << " \\\n"
<< cmSystemTools::ConvertToOutputPath(path.c_str()); << cmSystemTools::ConvertToOutputPath(path.c_str());
@ -470,7 +470,7 @@ void cmLocalUnixMakefileGenerator::OutputTargetRules(std::ostream& fout)
l->second.GetType() == cmTarget::WIN32_EXECUTABLE) && l->second.GetType() == cmTarget::WIN32_EXECUTABLE) &&
l->second.IsInAll()) l->second.IsInAll())
{ {
std::string path = m_ExecutableOutputPath; path = m_ExecutableOutputPath;
path += this->GetFullTargetName(l->first.c_str(), l->second); path += this->GetFullTargetName(l->first.c_str(), l->second);
fout << " \\\n" << cmSystemTools::ConvertToOutputPath(path.c_str()); fout << " \\\n" << cmSystemTools::ConvertToOutputPath(path.c_str());
} }