diff options
author | Joseph Snyder <joe.snyder@kitware.com> | 2014-12-15 17:48:08 (GMT) |
---|---|---|
committer | Joseph Snyder <joe.snyder@kitware.com> | 2014-12-15 17:48:08 (GMT) |
commit | 0622f92d23771126b2ff5470faea58a76326c413 (patch) | |
tree | 8380a48fdef7b4e81f00f9c521c51ab42acd1096 /Source/CTest | |
parent | 1b3ab3318dcdabe074da3c95b54f9483d47f95be (diff) | |
download | CMake-0622f92d23771126b2ff5470faea58a76326c413.zip CMake-0622f92d23771126b2ff5470faea58a76326c413.tar.gz CMake-0622f92d23771126b2ff5470faea58a76326c413.tar.bz2 |
CTest: Remove code to fix scanbuild errors
Remove code from cmParseBlanketJSCoverage.cxx and
cmParseDelphiCoverage.cxx which caused scanbuild errors
about not reading the value that was stored.
Diffstat (limited to 'Source/CTest')
-rw-r--r-- | Source/CTest/cmParseBlanketJSCoverage.cxx | 2 | ||||
-rw-r--r-- | Source/CTest/cmParseDelphiCoverage.cxx | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/Source/CTest/cmParseBlanketJSCoverage.cxx b/Source/CTest/cmParseBlanketJSCoverage.cxx index fc90bc1..85d066b 100644 --- a/Source/CTest/cmParseBlanketJSCoverage.cxx +++ b/Source/CTest/cmParseBlanketJSCoverage.cxx @@ -81,7 +81,6 @@ public: this->Coverage.TotalCoverage[filename]; CoverageVector = localCoverageVector; localCoverageVector.clear(); - foundFile=false; } foundFile= true; inSource = false; @@ -122,7 +121,6 @@ public: FileLinesType& CoverageVector = this->Coverage.TotalCoverage[filename]; CoverageVector = localCoverageVector; - foundFile=false; localCoverageVector.clear(); return true; } diff --git a/Source/CTest/cmParseDelphiCoverage.cxx b/Source/CTest/cmParseDelphiCoverage.cxx index ad71c85..8e331b1 100644 --- a/Source/CTest/cmParseDelphiCoverage.cxx +++ b/Source/CTest/cmParseDelphiCoverage.cxx @@ -136,8 +136,6 @@ public: break; } pos = lastoffset+1; - endnamepos = 0; - lastoffset =0; } /* * Glob through the source directory for the |