diff options
author | George Hazan <ghazan@miranda.im> | 2017-12-06 11:44:46 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-12-06 11:44:46 +0300 |
commit | 8c7f3cbd3a34044414a3ea26edbc570f8c737ca3 (patch) | |
tree | 4867ae0a97d34dc3d7de1c5ec166671d25644287 /plugins | |
parent | 0a8dbb91b0f505da3ce617fa5284719b8356cdac (diff) |
no need to create a contact with id=0
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Dbx_mdb/src/dbintf.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
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();
}
|