STYLE: fix shadow warning
This commit is contained in:
parent
0d7c6ee67b
commit
690f83b81b
@ -1179,7 +1179,7 @@ void cmCTestTestHandler::LoadTestList()
|
|||||||
int numErrRegex = 0;
|
int numErrRegex = 0;
|
||||||
ok = ok && this->GetValue("ErrorRegularExpressions:",
|
ok = ok && this->GetValue("ErrorRegularExpressions:",
|
||||||
numErrRegex, fin);
|
numErrRegex, fin);
|
||||||
for(int i =0; i < numErrRegex; i++)
|
for(int j =0; j < numErrRegex; j++)
|
||||||
{
|
{
|
||||||
cmSystemTools::GetLineFromStream(fin, line);
|
cmSystemTools::GetLineFromStream(fin, line);
|
||||||
std::pair<cmsys::RegularExpression, std::string> rpair;
|
std::pair<cmsys::RegularExpression, std::string> rpair;
|
||||||
@ -1190,7 +1190,7 @@ void cmCTestTestHandler::LoadTestList()
|
|||||||
int numReqRegex = 0;
|
int numReqRegex = 0;
|
||||||
ok = ok && this->GetValue("RequiredRegularExpressions:",
|
ok = ok && this->GetValue("RequiredRegularExpressions:",
|
||||||
numReqRegex, fin);
|
numReqRegex, fin);
|
||||||
for(int i =0; i < numReqRegex; i++)
|
for(int j =0; j < numReqRegex; j++)
|
||||||
{
|
{
|
||||||
cmSystemTools::GetLineFromStream(fin, line);
|
cmSystemTools::GetLineFromStream(fin, line);
|
||||||
std::pair<cmsys::RegularExpression, std::string> rpair;
|
std::pair<cmsys::RegularExpression, std::string> rpair;
|
||||||
@ -1201,7 +1201,7 @@ void cmCTestTestHandler::LoadTestList()
|
|||||||
int numMeasure = 0;
|
int numMeasure = 0;
|
||||||
ok = ok && this->GetValue("Measurements:",
|
ok = ok && this->GetValue("Measurements:",
|
||||||
numMeasure, fin);
|
numMeasure, fin);
|
||||||
for(int i =0; i < numMeasure; i++)
|
for(int j =0; j < numMeasure; j++)
|
||||||
{
|
{
|
||||||
cmStdString m;
|
cmStdString m;
|
||||||
cmStdString v;
|
cmStdString v;
|
||||||
@ -1219,7 +1219,7 @@ void cmCTestTestHandler::LoadTestList()
|
|||||||
int numEnv = 0;
|
int numEnv = 0;
|
||||||
ok = ok && this->GetValue("Environment:",
|
ok = ok && this->GetValue("Environment:",
|
||||||
numEnv, fin);
|
numEnv, fin);
|
||||||
for(int i =0; i < numEnv; i++)
|
for(int j =0; j < numEnv; j++)
|
||||||
{
|
{
|
||||||
cmSystemTools::GetLineFromStream(fin, line);
|
cmSystemTools::GetLineFromStream(fin, line);
|
||||||
p.Environment.push_back(line);
|
p.Environment.push_back(line);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user