mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-09 23:30:35 -06:00
cmParseCoberturaCoverage: Remove extra coverage line
Fix off-by-one error in cmParseCoberturaCoverage that added an extra blank line to the end of source file being covered.
This commit is contained in:
@@ -125,7 +125,6 @@ protected:
|
||||
std::string line;
|
||||
FileLinesType& curFileLines =
|
||||
this->Coverage.TotalCoverage[this->CurFileName];
|
||||
curFileLines.push_back(-1);
|
||||
while(cmSystemTools::GetLineFromStream(fin, line))
|
||||
{
|
||||
curFileLines.push_back(-1);
|
||||
|
||||
Reference in New Issue
Block a user