summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmParseCoberturaCoverage.cxx
diff options
context:
space:
mode:
authorZack Galbreath <zack.galbreath@kitware.com>2016-03-30 18:22:07 (GMT)
committerZack Galbreath <zack.galbreath@kitware.com>2016-03-30 18:22:07 (GMT)
commit398b8800e350a0330be32046a6eed5c146a9f67a (patch)
tree16f70ce99644d6dc87a6c8ca223283f451429425 /Source/CTest/cmParseCoberturaCoverage.cxx
parent00e4d1220bb9f3c43bd3d339b0114d2074480bd7 (diff)
downloadCMake-398b8800e350a0330be32046a6eed5c146a9f67a.zip
CMake-398b8800e350a0330be32046a6eed5c146a9f67a.tar.gz
CMake-398b8800e350a0330be32046a6eed5c146a9f67a.tar.bz2
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.
Diffstat (limited to 'Source/CTest/cmParseCoberturaCoverage.cxx')
-rw-r--r--Source/CTest/cmParseCoberturaCoverage.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/CTest/cmParseCoberturaCoverage.cxx b/Source/CTest/cmParseCoberturaCoverage.cxx
index 3ed5cb0..515d041 100644
--- a/Source/CTest/cmParseCoberturaCoverage.cxx
+++ b/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);