summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2004-10-28 11:46:42 (GMT)
committerBrad King <brad.king@kitware.com>2004-10-28 11:46:42 (GMT)
commit4de0a518fd8fb7ef4b6940d5514586427197d4fd (patch)
tree94819ff217a54cc8cc6fc729d23aae6f69859887
parent8711ce31d9917d8c5cae04453ffbb883f586def2 (diff)
downloadCMake-4de0a518fd8fb7ef4b6940d5514586427197d4fd.zip
CMake-4de0a518fd8fb7ef4b6940d5514586427197d4fd.tar.gz
CMake-4de0a518fd8fb7ef4b6940d5514586427197d4fd.tar.bz2
COMP: Fix local shadow warnings.
-rw-r--r--Source/cmLocalUnixMakefileGenerator2.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator2.cxx b/Source/cmLocalUnixMakefileGenerator2.cxx
index b0fdf1f..40c1f2e 100644
--- a/Source/cmLocalUnixMakefileGenerator2.cxx
+++ b/Source/cmLocalUnixMakefileGenerator2.cxx
@@ -746,15 +746,15 @@ cmLocalUnixMakefileGenerator2
// Write the requires rule.
{
- std::vector<std::string> depends;
- std::vector<std::string> commands;
+ std::vector<std::string> depends2;
+ std::vector<std::string> 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<std::string> depends;
- std::vector<std::string> commands;
+ std::vector<std::string> depends2;
+ std::vector<std::string> 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);
}
}