summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmParseCacheCoverage.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CTest/cmParseCacheCoverage.cxx')
-rw-r--r--Source/CTest/cmParseCacheCoverage.cxx12
1 files changed, 1 insertions, 11 deletions
diff --git a/Source/CTest/cmParseCacheCoverage.cxx b/Source/CTest/cmParseCacheCoverage.cxx
index e4b0a88..137f344 100644
--- a/Source/CTest/cmParseCacheCoverage.cxx
+++ b/Source/CTest/cmParseCacheCoverage.cxx
@@ -44,11 +44,10 @@ bool cmParseCacheCoverage::LoadCoverageData(const char* d)
}
}
}
- // now remove files wht no actual coverage...
- this->RemoveUnCoveredFiles();
return true;
}
+// not currently used, but leave it in case we want it in the future
void cmParseCacheCoverage::RemoveUnCoveredFiles()
{
// loop over the coverage data computed and remove all files
@@ -195,15 +194,6 @@ bool cmParseCacheCoverage::ReadCMCovFile(const char* file)
{
continue;
}
- // routine and filepath should be set at this point.
- // see if we have visited this file before, and if not
- // call InitializeMumpsFile
- if( this->Coverage.TotalCoverage[filepath].size() == 0)
- {
- // hack, this should be done on every file, but for now
- // just do it on the ones that have coverage at all
- this->InitializeMumpsFile(filepath);
- }
// now we are ready to set the coverage from the line of data
cmCTestCoverageHandlerContainer::SingleFileCoverageVector&
coverageVector = this->Coverage.TotalCoverage[filepath];