ERR: Rename some variables to remove shadow warning
This commit is contained in:
parent
511b0c9661
commit
db2d146f02
@ -1758,9 +1758,9 @@ void cmCTest::ProcessDirectory(std::vector<std::string> &passed,
|
|||||||
{
|
{
|
||||||
if (dartStuff.find(output.c_str()))
|
if (dartStuff.find(output.c_str()))
|
||||||
{
|
{
|
||||||
std::string res = dartStuff.match(1);
|
std::string dartString = dartStuff.match(1);
|
||||||
cmSystemTools::ReplaceString(output, res.c_str(),"");
|
cmSystemTools::ReplaceString(output, dartString.c_str(),"");
|
||||||
cres.m_RegressionImages = this->GenerateRegressionImages(res);
|
cres.m_RegressionImages = this->GenerateRegressionImages(dartString);
|
||||||
}
|
}
|
||||||
if (output != "" && m_Verbose)
|
if (output != "" && m_Verbose)
|
||||||
{
|
{
|
||||||
@ -1777,9 +1777,9 @@ void cmCTest::ProcessDirectory(std::vector<std::string> &passed,
|
|||||||
std::cout << "Before dart check" << std::endl;
|
std::cout << "Before dart check" << std::endl;
|
||||||
if (dartStuff.find(output.c_str()))
|
if (dartStuff.find(output.c_str()))
|
||||||
{
|
{
|
||||||
std::string res = dartStuff.match(1);
|
std::string dartString = dartStuff.match(1);
|
||||||
cmSystemTools::ReplaceString(output, res.c_str(),"");
|
cmSystemTools::ReplaceString(output, dartString.c_str(),"");
|
||||||
cres.m_RegressionImages = this->GenerateRegressionImages(res);
|
cres.m_RegressionImages = this->GenerateRegressionImages(dartString);
|
||||||
}
|
}
|
||||||
if (output != "" && m_Verbose)
|
if (output != "" && m_Verbose)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user