summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2008-12-19 15:19:37 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2008-12-19 15:19:37 (GMT)
commit690f83b81b3dfcf3a80f938df0b7a3a0f0ad1992 (patch)
tree96edfc05f70d8bd45651987eb30690739dc0826f
parent0d7c6ee67b9dbd8c775661c844378251f51b7c1a (diff)
downloadCMake-690f83b81b3dfcf3a80f938df0b7a3a0f0ad1992.zip
CMake-690f83b81b3dfcf3a80f938df0b7a3a0f0ad1992.tar.gz
CMake-690f83b81b3dfcf3a80f938df0b7a3a0f0ad1992.tar.bz2
STYLE: fix shadow warning
-rw-r--r--Source/CTest/cmCTestTestHandler.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/CTest/cmCTestTestHandler.cxx b/Source/CTest/cmCTestTestHandler.cxx
index ee187bc..46ab467 100644
--- a/Source/CTest/cmCTestTestHandler.cxx
+++ b/Source/CTest/cmCTestTestHandler.cxx
@@ -1179,7 +1179,7 @@ void cmCTestTestHandler::LoadTestList()
int numErrRegex = 0;
ok = ok && this->GetValue("ErrorRegularExpressions:",
numErrRegex, fin);
- for(int i =0; i < numErrRegex; i++)
+ for(int j =0; j < numErrRegex; j++)
{
cmSystemTools::GetLineFromStream(fin, line);
std::pair<cmsys::RegularExpression, std::string> rpair;
@@ -1190,7 +1190,7 @@ void cmCTestTestHandler::LoadTestList()
int numReqRegex = 0;
ok = ok && this->GetValue("RequiredRegularExpressions:",
numReqRegex, fin);
- for(int i =0; i < numReqRegex; i++)
+ for(int j =0; j < numReqRegex; j++)
{
cmSystemTools::GetLineFromStream(fin, line);
std::pair<cmsys::RegularExpression, std::string> rpair;
@@ -1201,7 +1201,7 @@ void cmCTestTestHandler::LoadTestList()
int numMeasure = 0;
ok = ok && this->GetValue("Measurements:",
numMeasure, fin);
- for(int i =0; i < numMeasure; i++)
+ for(int j =0; j < numMeasure; j++)
{
cmStdString m;
cmStdString v;
@@ -1219,7 +1219,7 @@ void cmCTestTestHandler::LoadTestList()
int numEnv = 0;
ok = ok && this->GetValue("Environment:",
numEnv, fin);
- for(int i =0; i < numEnv; i++)
+ for(int j =0; j < numEnv; j++)
{
cmSystemTools::GetLineFromStream(fin, line);
p.Environment.push_back(line);