summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-06-07 14:41:52 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-06-07 14:41:52 (GMT)
commit18cc1228bb576b16f6a13d7ea4d72d9d90821f9b (patch)
tree90d62c752ed706e3f48cc3757ff8ab9e0c25f6dd
parentae035f7c90e507ac20244ea00b3045ef31b19ed8 (diff)
downloadCMake-18cc1228bb576b16f6a13d7ea4d72d9d90821f9b.zip
CMake-18cc1228bb576b16f6a13d7ea4d72d9d90821f9b.tar.gz
CMake-18cc1228bb576b16f6a13d7ea4d72d9d90821f9b.tar.bz2
ENH: also remove uninitialized from the cache
Alex
-rw-r--r--Source/cmake.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 491a298..d6d56d0 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -335,7 +335,7 @@ bool cmake::SetCacheArgs(const std::vector<std::string>& args)
for ( it.Begin(); !it.IsAtEnd(); it.Next() )
{
cmCacheManager::CacheEntryType t = it.GetType();
- if(t != cmCacheManager::STATIC && t != cmCacheManager::UNINITIALIZED)
+ if(t != cmCacheManager::STATIC)
{
std::string entryName = it.GetName();
if (regex.find(entryName.c_str()))