From b327ed7872ca83c3a4249039ba1a3d8dd3ece630 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 17 Jan 2017 17:19:19 +0300 Subject: useless field DBEVENTINFO::cbSize removed --- plugins/QuickContacts/src/quickcontacts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/QuickContacts/src') diff --git a/plugins/QuickContacts/src/quickcontacts.cpp b/plugins/QuickContacts/src/quickcontacts.cpp index 0fcbed5858..499005b6ae 100644 --- a/plugins/QuickContacts/src/quickcontacts.cpp +++ b/plugins/QuickContacts/src/quickcontacts.cpp @@ -201,7 +201,7 @@ int ModulesLoaded(WPARAM, LPARAM) // handle of contact is set as window-userdata int EventAdded(WPARAM wparam, LPARAM hDbEvent) { - DBEVENTINFO dbei = { sizeof(dbei) }; + DBEVENTINFO dbei = {}; db_event_get(hDbEvent, &dbei); if ( !(dbei.flags & DBEF_SENT) || (dbei.flags & DBEF_READ) || !db_get_b(NULL, MODULE_NAME, "EnableLastSentTo", 0) -- cgit v1.2.3