[Cmake-commits] CMake branch, master, updated. f8593092aeff398c49ff88b19dcfd759633287df
cmake-commits at cmake.org
cmake-commits at cmake.org
Wed May 12 09:38:31 EDT 2010
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, master has been updated
via f8593092aeff398c49ff88b19dcfd759633287df (commit)
from 87dbbf9cbe1039ae370edbe19b825c6b596ece95 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f8593092aeff398c49ff88b19dcfd759633287df
commit f8593092aeff398c49ff88b19dcfd759633287df
Author: Zach Mullen <zach.mullen at kitware.com>
Date: Wed May 12 09:37:43 2010 -0400
Fix shadowed local warning in coverage handler
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()));
}
}
-----------------------------------------------------------------------
Summary of changes:
Source/CTest/cmCTestCoverageHandler.cxx | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list