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:
parent
00e4d1220b
commit
398b8800e3
|
@ -125,7 +125,6 @@ protected:
|
||||||
std::string line;
|
std::string line;
|
||||||
FileLinesType& curFileLines =
|
FileLinesType& curFileLines =
|
||||||
this->Coverage.TotalCoverage[this->CurFileName];
|
this->Coverage.TotalCoverage[this->CurFileName];
|
||||||
curFileLines.push_back(-1);
|
|
||||||
while(cmSystemTools::GetLineFromStream(fin, line))
|
while(cmSystemTools::GetLineFromStream(fin, line))
|
||||||
{
|
{
|
||||||
curFileLines.push_back(-1);
|
curFileLines.push_back(-1);
|
||||||
|
|
Loading…
Reference in New Issue