BUG: fix warning and shadow variable

This commit is contained in:
Bill Hoffman 2004-04-02 08:09:00 -05:00
parent c92c5e4e15
commit 7099db8d58
1 changed files with 0 additions and 1 deletions

View File

@ -1371,7 +1371,6 @@ void cmLocalUnixMakefileGenerator::OutputExecutableRule(std::ostream& fout,
if(m_UseRelativePaths) if(m_UseRelativePaths)
{ {
cmSystemTools::ConvertToUnixSlashes(target); cmSystemTools::ConvertToUnixSlashes(target);
bool needsLocalTarget = false;
std::string tgt = this->ConvertToMakeTarget(target.c_str()); std::string tgt = this->ConvertToMakeTarget(target.c_str());
if(tgt.find('/', 0) != tgt.npos) if(tgt.find('/', 0) != tgt.npos)
{ {