diff options
author | George Hazan <ghazan@miranda.im> | 2020-03-22 12:52:22 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-03-22 12:52:22 +0300 |
commit | bb0498bf6aa0accd22bbc19091a12d54602a52be (patch) | |
tree | 121ce8d5ad87121bb7dd18d5ba8be657a23606b0 /plugins/TabSRMM/src/contactcache.cpp | |
parent | 3bb36572408b63efac44da01a26c9bfa3d3b5e79 (diff) |
tabSRMM: removed all checks if m_hContact == 0, because it never happens
Diffstat (limited to 'plugins/TabSRMM/src/contactcache.cpp')
-rw-r--r-- | plugins/TabSRMM/src/contactcache.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/contactcache.cpp b/plugins/TabSRMM/src/contactcache.cpp index f218ffdd80..e597abe53c 100644 --- a/plugins/TabSRMM/src/contactcache.cpp +++ b/plugins/TabSRMM/src/contactcache.cpp @@ -36,10 +36,9 @@ static OBJLIST<CContactCache> arContacts(50, NumericKeySortT); static DBCachedContact ccInvalid; CContactCache::CContactCache(MCONTACT hContact) : + m_hContact(hContact), m_history(10) { - m_hContact = hContact; - if (hContact) { if ((cc = db_get_contact(hContact)) != nullptr) { initPhaseTwo(); |