ERR: Remove warning about shadow variables
This commit is contained in:
parent
2eb42a533e
commit
49ced45dc0
|
@ -2961,10 +2961,10 @@ int cmCTest::ProcessTests()
|
||||||
{
|
{
|
||||||
cmsys::Directory d;
|
cmsys::Directory d;
|
||||||
d.Load(notes_dir.c_str());
|
d.Load(notes_dir.c_str());
|
||||||
unsigned long cc;
|
unsigned long kk;
|
||||||
for ( cc = 0; cc < d.GetNumberOfFiles(); cc ++ )
|
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;
|
std::string fullname = notes_dir + "/" + file;
|
||||||
if ( cmSystemTools::FileExists(fullname.c_str()) &&
|
if ( cmSystemTools::FileExists(fullname.c_str()) &&
|
||||||
!cmSystemTools::FileIsDirectory(fullname.c_str()) )
|
!cmSystemTools::FileIsDirectory(fullname.c_str()) )
|
||||||
|
|
Loading…
Reference in New Issue