diff options
author | Ken Martin <ken.martin@kitware.com> | 2004-09-10 12:42:02 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2004-09-10 12:42:02 (GMT) |
commit | 685a8ed86fc6371820480f52e4f16cf93023ee12 (patch) | |
tree | 9121e932113a8f41e0ab29fca0b7474229a3eccd | |
parent | 54aeed9b4ff2ac129f168ba6566cade45311639c (diff) | |
download | CMake-685a8ed86fc6371820480f52e4f16cf93023ee12.zip CMake-685a8ed86fc6371820480f52e4f16cf93023ee12.tar.gz CMake-685a8ed86fc6371820480f52e4f16cf93023ee12.tar.bz2 |
fix dash8 warning
-rw-r--r-- | Source/cmCTest.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmCTest.cxx b/Source/cmCTest.cxx index 30f482f..211d44b 100644 --- a/Source/cmCTest.cxx +++ b/Source/cmCTest.cxx @@ -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 |