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