COMP: Fix local shadow warnings.

This commit is contained in:
Brad King 2004-10-28 07:46:42 -04:00
parent 8711ce31d9
commit 4de0a518fd
1 changed files with 8 additions and 8 deletions

View File

@ -746,15 +746,15 @@ cmLocalUnixMakefileGenerator2
// Write the requires rule. // Write the requires rule.
{ {
std::vector<std::string> depends; std::vector<std::string> depends2;
std::vector<std::string> commands; std::vector<std::string> commands2;
std::string reqComment = "requirements for "; std::string reqComment = "requirements for ";
reqComment += target.GetName(); reqComment += target.GetName();
std::string reqTarget = target.GetName(); std::string reqTarget = target.GetName();
reqTarget += ".requires"; reqTarget += ".requires";
depends.push_back(targetFullPath); depends2.push_back(targetFullPath);
this->OutputMakeRule(ruleFileStream, reqComment.c_str(), reqTarget.c_str(), this->OutputMakeRule(ruleFileStream, reqComment.c_str(), reqTarget.c_str(),
depends, commands); depends2, commands2);
} }
} }
@ -990,15 +990,15 @@ cmLocalUnixMakefileGenerator2
// Write the requires rule. // Write the requires rule.
{ {
std::vector<std::string> depends; std::vector<std::string> depends2;
std::vector<std::string> commands; std::vector<std::string> commands2;
std::string reqComment = "requirements for "; std::string reqComment = "requirements for ";
reqComment += target.GetName(); reqComment += target.GetName();
std::string reqTarget = target.GetName(); std::string reqTarget = target.GetName();
reqTarget += ".requires"; reqTarget += ".requires";
depends.push_back(targetFullPath); depends2.push_back(targetFullPath);
this->OutputMakeRule(ruleFileStream, reqComment.c_str(), reqTarget.c_str(), this->OutputMakeRule(ruleFileStream, reqComment.c_str(), reqTarget.c_str(),
depends, commands); depends2, commands2);
} }
} }