summaryrefslogtreecommitdiffstats
path: root/Source/cmCacheManager.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-01-29 22:30:48 (GMT)
committerBrad King <brad.king@kitware.com>2008-01-29 22:30:48 (GMT)
commit44cf465ff5f768c96e8708eba35f31f296e78b1e (patch)
treed9a32d9c28c1b77f1be2007c8368109587b75ddc /Source/cmCacheManager.cxx
parent6066e92ba2a9470e302e29cf0e63fd096245e4f3 (diff)
downloadCMake-44cf465ff5f768c96e8708eba35f31f296e78b1e.zip
CMake-44cf465ff5f768c96e8708eba35f31f296e78b1e.tar.gz
CMake-44cf465ff5f768c96e8708eba35f31f296e78b1e.tar.bz2
BUG: Fix uninitialzed members of cmCacheManager.
Diffstat (limited to 'Source/cmCacheManager.cxx')
-rw-r--r--Source/cmCacheManager.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmCacheManager.cxx b/Source/cmCacheManager.cxx
index 3eea333..bd95354 100644
--- a/Source/cmCacheManager.cxx
+++ b/Source/cmCacheManager.cxx
@@ -42,6 +42,12 @@ const char* cmCacheManagerTypes[] =
0
};
+cmCacheManager::cmCacheManager()
+{
+ this->CacheMajorVersion = 0;
+ this->CacheMinorVersion = 0;
+}
+
const char* cmCacheManager::TypeToString(cmCacheManager::CacheEntryType type)
{
if ( type > 6 )