diff options
Diffstat (limited to 'Source/cmCTest.cxx')
-rw-r--r-- | Source/cmCTest.cxx | 8 |
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; } } } |