From b30e7ca1c642a3f88659a4346832e653407e1c0f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 6 Dec 2017 11:57:03 +0300 Subject: no need to assign 1 to m_maxContactId either --- plugins/Dbx_mdb/src/dbintf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Dbx_mdb/src') 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); -- cgit v1.2.3