Fix shadowed local warning in coverage handler
This commit is contained in:
parent
87dbbf9cbe
commit
f8593092ae
|
@ -2031,11 +2031,11 @@ std::set<std::string> cmCTestCoverageHandler::FindUncoveredFiles(
|
||||||
std::string glob = cont->SourceDir + "/" + *i;
|
std::string glob = cont->SourceDir + "/" + *i;
|
||||||
gl.FindFiles(glob);
|
gl.FindFiles(glob);
|
||||||
std::vector<std::string> files = gl.GetFiles();
|
std::vector<std::string> files = gl.GetFiles();
|
||||||
for(std::vector<std::string>::iterator i = files.begin();
|
for(std::vector<std::string>::iterator f = files.begin();
|
||||||
i != files.end(); ++i)
|
f != files.end(); ++f)
|
||||||
{
|
{
|
||||||
extraMatches.insert(this->CTest->GetShortPathToFile(
|
extraMatches.insert(this->CTest->GetShortPathToFile(
|
||||||
i->c_str()));
|
f->c_str()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue