diff options
author | Zack Galbreath <zack.galbreath@kitware.com> | 2016-03-30 14:22:07 -0400 |
---|---|---|
committer | Zack Galbreath <zack.galbreath@kitware.com> | 2016-03-30 14:22:07 -0400 |
commit | 398b8800e350a0330be32046a6eed5c146a9f67a (patch) | |
tree | 16f70ce99644d6dc87a6c8ca223283f451429425 /Source/CTest | |
parent | 00e4d1220bb9f3c43bd3d339b0114d2074480bd7 (diff) | |
download | cmake-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.cxx | 1 |
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); |