From bb0498bf6aa0accd22bbc19091a12d54602a52be Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 22 Mar 2020 12:52:22 +0300 Subject: tabSRMM: removed all checks if m_hContact == 0, because it never happens --- plugins/TabSRMM/src/contactcache.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/TabSRMM/src/contactcache.cpp') 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 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(); -- cgit v1.2.3