fix dash8 warning

This commit is contained in:
Ken Martin 2004-09-10 08:42:02 -04:00
parent 54aeed9b4f
commit 685a8ed86f
1 changed files with 3 additions and 3 deletions

View File

@ -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