BUG: Fix uninitialzed members of cmCacheManager.
This commit is contained in:
parent
6066e92ba2
commit
44cf465ff5
|
@ -42,6 +42,12 @@ const char* cmCacheManagerTypes[] =
|
||||||
0
|
0
|
||||||
};
|
};
|
||||||
|
|
||||||
|
cmCacheManager::cmCacheManager()
|
||||||
|
{
|
||||||
|
this->CacheMajorVersion = 0;
|
||||||
|
this->CacheMinorVersion = 0;
|
||||||
|
}
|
||||||
|
|
||||||
const char* cmCacheManager::TypeToString(cmCacheManager::CacheEntryType type)
|
const char* cmCacheManager::TypeToString(cmCacheManager::CacheEntryType type)
|
||||||
{
|
{
|
||||||
if ( type > 6 )
|
if ( type > 6 )
|
||||||
|
|
|
@ -30,6 +30,7 @@ class cmMarkAsAdvancedCommand;
|
||||||
class cmCacheManager
|
class cmCacheManager
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
cmCacheManager();
|
||||||
class CacheIterator;
|
class CacheIterator;
|
||||||
friend class cmCacheManager::CacheIterator;
|
friend class cmCacheManager::CacheIterator;
|
||||||
enum CacheEntryType{ BOOL=0, PATH, FILEPATH, STRING, INTERNAL,STATIC,
|
enum CacheEntryType{ BOOL=0, PATH, FILEPATH, STRING, INTERNAL,STATIC,
|
||||||
|
|
Loading…
Reference in New Issue