COMP: Remove warning

This commit is contained in:
Andy Cedilnik 2005-07-06 15:49:55 -04:00
parent 38b68bcd78
commit 0b86a0c926
1 changed files with 2 additions and 2 deletions

View File

@ -442,9 +442,9 @@ int cmCTestCoverageHandler::ProcessHandler()
// Read the line number starting at the 10th character of the gcov output line // Read the line number starting at the 10th character of the gcov output line
std::string lineNumber = nl.substr(10, 5); std::string lineNumber = nl.substr(10, 5);
int line = atoi(lineNumber.c_str()); int lineIdx = atoi(lineNumber.c_str());
(*vec)[line] += cov; (*vec)[lineIdx] += cov;
} }
} }
actualSourceFile = ""; actualSourceFile = "";