From eccbb5307a048e70ac4adb0d3fd333be28245fa8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 28 Mar 2017 14:21:33 +0300 Subject: massive cleanup of useless cbSize fields --- plugins/UserInfoEx/src/Flags/svc_flags.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/UserInfoEx/src') diff --git a/plugins/UserInfoEx/src/Flags/svc_flags.cpp b/plugins/UserInfoEx/src/Flags/svc_flags.cpp index 13b9fb893f..0960b61b54 100644 --- a/plugins/UserInfoEx/src/Flags/svc_flags.cpp +++ b/plugins/UserInfoEx/src/Flags/svc_flags.cpp @@ -97,7 +97,7 @@ MsgWndData::~MsgWndData() void MsgWndData::FlagsIconSet() { - StatusIconData sid = { sizeof(sid) }; + StatusIconData sid = {}; sid.szModule = MODNAMEFLAGS; if (!g_bShowStatusIconFlag) sid.flags = MBF_HIDDEN; @@ -112,7 +112,7 @@ void MsgWndData::FlagsIconSet() void UpdateStatusIcons() { - StatusIconData sid = { sizeof(sid) }; + StatusIconData sid = {}; sid.szModule = MODNAMEFLAGS; if (!g_bShowStatusIconFlag) sid.flags = MBF_HIDDEN; @@ -234,7 +234,7 @@ void SvcFlagsLoadModule() void SvcFlagsOnModulesLoaded() { /* Status Icon */ - StatusIconData sid = { sizeof(sid) }; + StatusIconData sid = {}; sid.szModule = MODNAMEFLAGS; if (!g_bShowStatusIconFlag) sid.flags = MBF_HIDDEN; -- cgit v1.2.3