summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-03-20 14:47:13 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-03-20 14:47:13 (GMT)
commita870d08670583d75492dce16f14ac6ffd994c448 (patch)
treec9cd7690465d1ee8b3d0c694c84146b68b19c02e /Source/cmCTest.cxx
parentffb12bae6480c143818bf9dc20c293aa97af79ba (diff)
downloadCMake-a870d08670583d75492dce16f14ac6ffd994c448.zip
CMake-a870d08670583d75492dce16f14ac6ffd994c448.tar.gz
CMake-a870d08670583d75492dce16f14ac6ffd994c448.tar.bz2
BUG: used wrong counters
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r--Source/cmCTest.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx
index be186eb..61243e3 100644
--- a/Source/cmCTest.cxx
+++ b/Source/cmCTest.cxx
@@ -970,11 +970,11 @@ int cmCTest::BuildDirectory()
std::vector<int>::size_type kk;
for ( kk =0; kk < markedLines.size(); kk ++ )
{
- if ( markedLines[cc] == 1 )
+ if ( markedLines[kk] == 1 )
{
if ( re.find(lines[kk]) )
{
- markedLines[cc] = 0;
+ markedLines[kk] = 0;
}
}
}
@@ -986,11 +986,11 @@ int cmCTest::BuildDirectory()
std::vector<int>::size_type kk;
for ( kk =0; kk < markedLines.size(); kk ++ )
{
- if ( markedLines[cc] > 1 )
+ if ( markedLines[kk] > 1 )
{
if ( re.find(lines[kk]) )
{
- markedLines[cc] = 0;
+ markedLines[kk] = 0;
}
}
}