diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-07-06 19:49:55 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2005-07-06 19:49:55 (GMT) |
commit | 0b86a0c926c51994b3394e2a8dae045bc2d0e510 (patch) | |
tree | 43008c012b9505471bfb4de755c81f3af5101fc6 /Source | |
parent | 38b68bcd783a9e57aa2752d9dde986d92883f1aa (diff) | |
download | CMake-0b86a0c926c51994b3394e2a8dae045bc2d0e510.zip CMake-0b86a0c926c51994b3394e2a8dae045bc2d0e510.tar.gz CMake-0b86a0c926c51994b3394e2a8dae045bc2d0e510.tar.bz2 |
COMP: Remove warning
Diffstat (limited to 'Source')
-rw-r--r-- | Source/CTest/cmCTestCoverageHandler.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CTest/cmCTestCoverageHandler.cxx b/Source/CTest/cmCTestCoverageHandler.cxx index 9d714ad..b21a7bc 100644 --- a/Source/CTest/cmCTestCoverageHandler.cxx +++ b/Source/CTest/cmCTestCoverageHandler.cxx @@ -442,9 +442,9 @@ int cmCTestCoverageHandler::ProcessHandler() // Read the line number starting at the 10th character of the gcov output line 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 = ""; |