Merge topic 'cobertura_off_by_one'

398b8800 cmParseCoberturaCoverage: Remove extra coverage line
This commit is contained in:
Brad King 2016-04-05 09:38:04 -04:00 committed by CMake Topic Stage
commit 25a38ecfe7
1 changed files with 0 additions and 1 deletions

View File

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