summaryrefslogtreecommitdiff
path: root/plugins/IEHistory/src/dlgHandlers.cpp
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/IEHistory/src/dlgHandlers.cpp
parentfd7566b5de6b59bb18ff380cb1fa3f3f1089b70b (diff)
useless field DBEVENTINFO::cbSize removed
Diffstat (limited to 'plugins/IEHistory/src/dlgHandlers.cpp')
-rw-r--r--plugins/IEHistory/src/dlgHandlers.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/IEHistory/src/dlgHandlers.cpp b/plugins/IEHistory/src/dlgHandlers.cpp
index f88f3f09d9..3b15a902f1 100644
--- a/plugins/IEHistory/src/dlgHandlers.cpp
+++ b/plugins/IEHistory/src/dlgHandlers.cpp
@@ -172,8 +172,7 @@ DWORD WINAPI WorkerThread(LPVOID lpvData)
IEVIEWEVENT ieEvent = data->ieEvent;
ieEvent.iType = IEE_LOG_MEM_EVENTS;
ieEvent.eventData = ieData;
- DBEVENTINFO dbInfo = { 0 };
- dbInfo.cbSize = sizeof(DBEVENTINFO);
+ DBEVENTINFO dbInfo = {};
PBYTE buffer = NULL;
int newSize, oldSize = 0;
while (count < target) {