From 8c7f3cbd3a34044414a3ea26edbc570f8c737ca3 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 6 Dec 2017 11:44:46 +0300 Subject: no need to create a contact with id=0 --- plugins/Dbx_mdb/src/dbintf.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'plugins') diff --git a/plugins/Dbx_mdb/src/dbintf.cpp b/plugins/Dbx_mdb/src/dbintf.cpp index 48a8f85aee..f53b6e222e 100644 --- a/plugins/Dbx_mdb/src/dbintf.cpp +++ b/plugins/Dbx_mdb/src/dbintf.cpp @@ -96,11 +96,6 @@ int CDbxMdb::Load(bool bSkipInit) m_header.dwVersion = DBHEADER_VERSION; data.iov_base = &m_header; data.iov_len = sizeof(m_header); mdbx_put(trnlck, m_dbGlobal, &key, &data, 0); - - keyVal = 0; - DBContact dbc = { 0, 0, 0 }; - data.iov_base = &dbc; data.iov_len = sizeof(dbc); - mdbx_put(trnlck, m_dbContacts, &key, &data, 0); } trnlck.commit(); } -- cgit v1.2.3