summaryrefslogtreecommitdiff
path: root/Source/CTest
diff options
context:
space:
mode:
authorZack Galbreath <zack.galbreath@kitware.com>2016-03-30 14:22:07 -0400
committerZack Galbreath <zack.galbreath@kitware.com>2016-03-30 14:22:07 -0400
commit398b8800e350a0330be32046a6eed5c146a9f67a (patch)
tree16f70ce99644d6dc87a6c8ca223283f451429425 /Source/CTest
parent00e4d1220bb9f3c43bd3d339b0114d2074480bd7 (diff)
downloadcmake-398b8800e350a0330be32046a6eed5c146a9f67a.tar.gz
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')
-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 3ed5cb0f9b..515d041f02 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);