summaryrefslogtreecommitdiffstats
path: root/Source/cmCacheManager.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2003-08-18 18:05:53 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2003-08-18 18:05:53 (GMT)
commitff32379e264be9aa268e51399d8d6a5baba421cb (patch)
treef1d5be6e251d0f7b92db0b59b9714321fdfae9ad /Source/cmCacheManager.cxx
parent7f5b38b1903c5abf359e5d41d074640f7abd6871 (diff)
downloadCMake-ff32379e264be9aa268e51399d8d6a5baba421cb.zip
CMake-ff32379e264be9aa268e51399d8d6a5baba421cb.tar.gz
CMake-ff32379e264be9aa268e51399d8d6a5baba421cb.tar.bz2
BUG: Fixed Bug #154 - Uninitialized type initialized value cache variables should return value
Diffstat (limited to 'Source/cmCacheManager.cxx')
-rw-r--r--Source/cmCacheManager.cxx2
1 files changed, 1 insertions, 1 deletions
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();