Commit a870d086 authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

BUG: used wrong counters

parent ffb12bae
......@@ -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;
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment