diff options
author | Zach Mullen <zach.mullen@kitware.com> | 2010-05-12 13:37:43 (GMT) |
---|---|---|
committer | Zach Mullen <zach.mullen@kitware.com> | 2010-05-12 13:37:43 (GMT) |
commit | 38cabcd9ff34dae427ef86b0a24ca4e56cffd746 (patch) | |
tree | 71bb9907a546cc550b9d831cd97f2d35f37678a5 /Source/CTest | |
parent | 8ce275fee54cd73d1397c562ffff1ef282162d42 (diff) | |
download | CMake-38cabcd9ff34dae427ef86b0a24ca4e56cffd746.zip CMake-38cabcd9ff34dae427ef86b0a24ca4e56cffd746.tar.gz CMake-38cabcd9ff34dae427ef86b0a24ca4e56cffd746.tar.bz2 |
Fix shadowed local warning in coverage handler
Diffstat (limited to 'Source/CTest')
-rw-r--r-- | Source/CTest/cmCTestCoverageHandler.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/CTest/cmCTestCoverageHandler.cxx b/Source/CTest/cmCTestCoverageHandler.cxx index e66af24..da5aed0 100644 --- a/Source/CTest/cmCTestCoverageHandler.cxx +++ b/Source/CTest/cmCTestCoverageHandler.cxx @@ -2031,11 +2031,11 @@ std::set<std::string> cmCTestCoverageHandler::FindUncoveredFiles( std::string glob = cont->SourceDir + "/" + *i; gl.FindFiles(glob); std::vector<std::string> files = gl.GetFiles(); - for(std::vector<std::string>::iterator i = files.begin(); - i != files.end(); ++i) + for(std::vector<std::string>::iterator f = files.begin(); + f != files.end(); ++f) { extraMatches.insert(this->CTest->GetShortPathToFile( - i->c_str())); + f->c_str())); } } |