summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mdbx/src/dbintf.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Dbx_mdbx/src/dbintf.h')
-rw-r--r--plugins/Dbx_mdbx/src/dbintf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Dbx_mdbx/src/dbintf.h b/plugins/Dbx_mdbx/src/dbintf.h
index b5adf457f9..f8c94750c1 100644
--- a/plugins/Dbx_mdbx/src/dbintf.h
+++ b/plugins/Dbx_mdbx/src/dbintf.h
@@ -179,7 +179,7 @@ class CDbxMDBX : public MDatabaseCommon, public MIDatabaseChecker, public MZeroe
// database stuff
ptrW m_pwszProfileName;
- bool m_safetyMode, m_bReadOnly, m_bShared, m_bEncrypted, m_bUsesPassword;
+ bool m_safetyMode = true, m_bReadOnly, m_bEncrypted, m_bUsesPassword;
MDBX_env *m_env;
CMDBX_txn_ro m_txn_ro;
@@ -204,7 +204,7 @@ class CDbxMDBX : public MDatabaseCommon, public MIDatabaseChecker, public MZeroe
MDBX_dbi m_dbContacts;
MDBX_cursor *m_curContacts;
- MCONTACT m_maxContactId;
+ MCONTACT m_maxContactId = 0;
void GatherContactHistory(MCONTACT hContact, OBJLIST<EventItem> &items);