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:
Zack Galbreath 2016-03-30 14:22:07 -04:00
parent 00e4d1220b
commit 398b8800e3
1 changed files with 0 additions and 1 deletions

View File

@ -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);