Ver Fonte

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.
Zack Galbreath há 9 anos atrás
pai
commit
398b8800e3
1 ficheiros alterados com 0 adições e 1 exclusões
  1. 0 1
      Source/CTest/cmParseCoberturaCoverage.cxx

+ 0 - 1
Source/CTest/cmParseCoberturaCoverage.cxx

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