summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-05-01 13:57:35 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-05-01 13:57:35 (GMT)
commit49ced45dc00ee064549c94ebad7e6296451d54c4 (patch)
tree138899afbd627d49c7f93dcfdda9b0662f7ef31d
parent2eb42a533e78078c6c3617646d61a919b821a770 (diff)
downloadCMake-49ced45dc00ee064549c94ebad7e6296451d54c4.zip
CMake-49ced45dc00ee064549c94ebad7e6296451d54c4.tar.gz
CMake-49ced45dc00ee064549c94ebad7e6296451d54c4.tar.bz2
ERR: Remove warning about shadow variables
-rw-r--r--Source/cmCTest.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index 2b5a87e..5cac61c 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -2961,10 +2961,10 @@ int cmCTest::ProcessTests()
{
cmsys::Directory d;
d.Load(notes_dir.c_str());
- unsigned long cc;
- for ( cc = 0; cc < d.GetNumberOfFiles(); cc ++ )
+ unsigned long kk;
+ for ( kk = 0; kk < d.GetNumberOfFiles(); kk ++ )
{
- const char* file = d.GetFile(cc);
+ const char* file = d.GetFile(kk);
std::string fullname = notes_dir + "/" + file;
if ( cmSystemTools::FileExists(fullname.c_str()) &&
!cmSystemTools::FileIsDirectory(fullname.c_str()) )