summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-12-06 11:57:03 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-12-06 11:57:03 +0300
commitb30e7ca1c642a3f88659a4346832e653407e1c0f (patch)
tree444d8b298b2af3dbd0a6cf42d0d1c7dc073616db
parent8c7f3cbd3a34044414a3ea26edbc570f8c737ca3 (diff)
no need to assign 1 to m_maxContactId either
-rw-r--r--plugins/Dbx_mdb/src/dbintf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Dbx_mdb/src/dbintf.cpp b/plugins/Dbx_mdb/src/dbintf.cpp
index f53b6e222e..71cd1b5b91 100644
--- a/plugins/Dbx_mdb/src/dbintf.cpp
+++ b/plugins/Dbx_mdb/src/dbintf.cpp
@@ -27,7 +27,7 @@ CDbxMdb::CDbxMdb(const TCHAR *tszFileName, int iMode) :
m_safetyMode(true),
m_bReadOnly((iMode & DBMODE_READONLY) != 0),
m_bShared((iMode & DBMODE_SHARED) != 0),
- m_maxContactId(1)
+ m_maxContactId(0)
{
m_tszProfileName = mir_wstrdup(tszFileName);
InitDbInstance(this);