mirror of
https://github.com/reactos/CMake.git
synced 2024-11-28 14:01:21 +00:00
BUG: Fix uninitialzed members of cmCacheManager.
This commit is contained in:
parent
6066e92ba2
commit
44cf465ff5
@ -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 )
|
||||
|
@ -30,6 +30,7 @@ class cmMarkAsAdvancedCommand;
|
||||
class cmCacheManager
|
||||
{
|
||||
public:
|
||||
cmCacheManager();
|
||||
class CacheIterator;
|
||||
friend class cmCacheManager::CacheIterator;
|
||||
enum CacheEntryType{ BOOL=0, PATH, FILEPATH, STRING, INTERNAL,STATIC,
|
||||
|
Loading…
Reference in New Issue
Block a user