From 685a8ed86fc6371820480f52e4f16cf93023ee12 Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Fri, 10 Sep 2004 08:42:02 -0400 Subject: [PATCH] fix dash8 warning --- Source/cmCTest.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index 30f482fcd..211d44bf9 100644 --- a/Source/cmCTest.cxx +++ b/Source/cmCTest.cxx @@ -1568,11 +1568,11 @@ int cmCTest::Run(std::vectorconst& 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