summaryrefslogtreecommitdiff
path: root/plugins/RecentContacts
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/RecentContacts')
-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;