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/RecentContacts/src/RecentContacts.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'plugins/RecentContacts') diff --git a/plugins/RecentContacts/src/RecentContacts.cpp b/plugins/RecentContacts/src/RecentContacts.cpp index 7f973db613..d2b5693eaf 100644 --- a/plugins/RecentContacts/src/RecentContacts.cpp +++ b/plugins/RecentContacts/src/RecentContacts.cpp @@ -395,9 +395,7 @@ INT_PTR OnMenuCommandShowList(WPARAM, LPARAM) __time64_t curTime; //DWORD t; - DBEVENTINFO dbe; - memset(&dbe, 0, sizeof(dbe)); - dbe.cbSize = sizeof(dbe); + DBEVENTINFO dbe = {}; BYTE buf[1]; dbe.pBlob = buf; MEVENT curEvent; -- cgit v1.2.3