Commit 685a8ed8 authored by Ken Martin's avatar Ken Martin
Browse files

fix dash8 warning

parent 54aeed9b
......@@ -1568,11 +1568,11 @@ int cmCTest::Run(std::vector<std::string>const& args, std::string* output)
if(cmakeAndTest)
{
cmSystemTools::ResetErrorOccuredFlag();
cmListFileCache::GetInstance()->ClearCache();
cmListFileCache *lfc = cmListFileCache::GetInstance();
lfc->ClearCache();
int retv = this->RunCMakeAndTest(output);
cmSystemTools::ResetErrorOccuredFlag();
cmListFileCache* lf = cmListFileCache::GetInstance();
lf->ClearCache();
lfc->ClearCache();
#ifdef CMAKE_BUILD_WITH_CMAKE
cmDynamicLoader::FlushCache();
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment