summaryrefslogtreecommitdiff
path: root/plugins/RecentContacts/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-01-17 17:19:19 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-01-17 17:19:19 +0300
commitb327ed7872ca83c3a4249039ba1a3d8dd3ece630 (patch)
tree5a4ae83dafab23f7832186b5dd0736611998f43c /plugins/RecentContacts/src
parentfd7566b5de6b59bb18ff380cb1fa3f3f1089b70b (diff)
useless field DBEVENTINFO::cbSize removed
Diffstat (limited to 'plugins/RecentContacts/src')
-rw-r--r--plugins/RecentContacts/src/RecentContacts.cpp4
1 files changed, 1 insertions, 3 deletions
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;