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.
This commit is contained in:
Joseph Snyder 2014-12-15 12:48:08 -05:00
parent 1b3ab3318d
commit 0622f92d23
2 changed files with 0 additions and 4 deletions

View File

@ -81,7 +81,6 @@ public:
this->Coverage.TotalCoverage[filename]; this->Coverage.TotalCoverage[filename];
CoverageVector = localCoverageVector; CoverageVector = localCoverageVector;
localCoverageVector.clear(); localCoverageVector.clear();
foundFile=false;
} }
foundFile= true; foundFile= true;
inSource = false; inSource = false;
@ -122,7 +121,6 @@ public:
FileLinesType& CoverageVector = FileLinesType& CoverageVector =
this->Coverage.TotalCoverage[filename]; this->Coverage.TotalCoverage[filename];
CoverageVector = localCoverageVector; CoverageVector = localCoverageVector;
foundFile=false;
localCoverageVector.clear(); localCoverageVector.clear();
return true; return true;
} }

View File

@ -136,8 +136,6 @@ public:
break; break;
} }
pos = lastoffset+1; pos = lastoffset+1;
endnamepos = 0;
lastoffset =0;
} }
/* /*
* Glob through the source directory for the * Glob through the source directory for the