diff options
author | Joseph Snyder <joe.snyder@kitware.com> | 2014-12-15 12:48:08 -0500 |
---|---|---|
committer | Joseph Snyder <joe.snyder@kitware.com> | 2014-12-15 12:48:08 -0500 |
commit | 0622f92d23771126b2ff5470faea58a76326c413 (patch) | |
tree | 8380a48fdef7b4e81f00f9c521c51ab42acd1096 /Source | |
parent | 1b3ab3318dcdabe074da3c95b54f9483d47f95be (diff) | |
download | cmake-0622f92d23771126b2ff5470faea58a76326c413.tar.gz |
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')
-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 fc90bc131a..85d066b79a 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 ad71c85986..8e331b1108 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 |