summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-08-09 23:37:33 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-08-09 23:37:33 (GMT)
commitdb2d146f02a2f1571dcc69ccefede775f85d2532 (patch)
treeeb4dde6cfb6d4e2a1983a80ce385bc1924acd20a /Source/cmCTest.cxx
parent511b0c9661c44da9670153127178d11eb359907b (diff)
downloadCMake-db2d146f02a2f1571dcc69ccefede775f85d2532.zip
CMake-db2d146f02a2f1571dcc69ccefede775f85d2532.tar.gz
CMake-db2d146f02a2f1571dcc69ccefede775f85d2532.tar.bz2
ERR: Rename some variables to remove shadow warning
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r--Source/cmCTest.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index 8624d88..6eef027 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -1758,9 +1758,9 @@ void cmCTest::ProcessDirectory(std::vector<std::string> &passed,
{
if (dartStuff.find(output.c_str()))
{
- std::string res = dartStuff.match(1);
- cmSystemTools::ReplaceString(output, res.c_str(),"");
- cres.m_RegressionImages = this->GenerateRegressionImages(res);
+ std::string dartString = dartStuff.match(1);
+ cmSystemTools::ReplaceString(output, dartString.c_str(),"");
+ cres.m_RegressionImages = this->GenerateRegressionImages(dartString);
}
if (output != "" && m_Verbose)
{
@@ -1777,9 +1777,9 @@ void cmCTest::ProcessDirectory(std::vector<std::string> &passed,
std::cout << "Before dart check" << std::endl;
if (dartStuff.find(output.c_str()))
{
- std::string res = dartStuff.match(1);
- cmSystemTools::ReplaceString(output, res.c_str(),"");
- cres.m_RegressionImages = this->GenerateRegressionImages(res);
+ std::string dartString = dartStuff.match(1);
+ cmSystemTools::ReplaceString(output, dartString.c_str(),"");
+ cres.m_RegressionImages = this->GenerateRegressionImages(dartString);
}
if (output != "" && m_Verbose)
{