From 4de0a518fd8fb7ef4b6940d5514586427197d4fd Mon Sep 17 00:00:00 2001 From: Brad King Date: Thu, 28 Oct 2004 07:46:42 -0400 Subject: [PATCH] COMP: Fix local shadow warnings. --- Source/cmLocalUnixMakefileGenerator2.cxx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Source/cmLocalUnixMakefileGenerator2.cxx b/Source/cmLocalUnixMakefileGenerator2.cxx index b0fdf1f0a..40c1f2e40 100644 --- a/Source/cmLocalUnixMakefileGenerator2.cxx +++ b/Source/cmLocalUnixMakefileGenerator2.cxx @@ -746,15 +746,15 @@ cmLocalUnixMakefileGenerator2 // Write the requires rule. { - std::vector depends; - std::vector commands; + std::vector depends2; + std::vector commands2; std::string reqComment = "requirements for "; reqComment += target.GetName(); std::string reqTarget = target.GetName(); reqTarget += ".requires"; - depends.push_back(targetFullPath); + depends2.push_back(targetFullPath); this->OutputMakeRule(ruleFileStream, reqComment.c_str(), reqTarget.c_str(), - depends, commands); + depends2, commands2); } } @@ -990,15 +990,15 @@ cmLocalUnixMakefileGenerator2 // Write the requires rule. { - std::vector depends; - std::vector commands; + std::vector depends2; + std::vector commands2; std::string reqComment = "requirements for "; reqComment += target.GetName(); std::string reqTarget = target.GetName(); reqTarget += ".requires"; - depends.push_back(targetFullPath); + depends2.push_back(targetFullPath); this->OutputMakeRule(ruleFileStream, reqComment.c_str(), reqTarget.c_str(), - depends, commands); + depends2, commands2); } }