From ff32379e264be9aa268e51399d8d6a5baba421cb Mon Sep 17 00:00:00 2001 From: Andy Cedilnik Date: Mon, 18 Aug 2003 14:05:53 -0400 Subject: BUG: Fixed Bug #154 - Uninitialized type initialized value cache variables should return value --- Source/cmCacheManager.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmCacheManager.cxx b/Source/cmCacheManager.cxx index 410a59f..f77964f 100644 --- a/Source/cmCacheManager.cxx +++ b/Source/cmCacheManager.cxx @@ -586,7 +586,7 @@ cmCacheManager::CacheIterator cmCacheManager::GetCacheIterator(const char *key) const char* cmCacheManager::GetCacheValue(const char* key) const { CacheEntryMap::const_iterator i = m_Cache.find(key); - if(i != m_Cache.end() && i->second.m_Type != cmCacheManager::UNINITIALIZED && + if(i != m_Cache.end() && i->second.m_Initialized) { return i->second.m_Value.c_str(); -- cgit v0.12