summaryrefslogtreecommitdiff
path: root/plugins/New_GPG/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-28 14:21:33 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-28 14:21:33 +0300
commiteccbb5307a048e70ac4adb0d3fd333be28245fa8 (patch)
treea9a2c92c13391a5cf288c9e0d841833c54f3cd5e /plugins/New_GPG/src
parent6a9e3738066370dac38f5f6768b8a6f61fe709e0 (diff)
massive cleanup of useless cbSize fields
Diffstat (limited to 'plugins/New_GPG/src')
-rw-r--r--plugins/New_GPG/src/icons.cpp2
-rw-r--r--plugins/New_GPG/src/init.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/New_GPG/src/icons.cpp b/plugins/New_GPG/src/icons.cpp
index d003b7da23..64c9208d97 100644
--- a/plugins/New_GPG/src/icons.cpp
+++ b/plugins/New_GPG/src/icons.cpp
@@ -51,7 +51,7 @@ void setSrmmIcon(MCONTACT h)
bool enabled = isContactSecured(hContact);
MCONTACT hMC = db_mc_tryMeta(hContact);
- StatusIconData sid = { sizeof(sid) };
+ StatusIconData sid = {};
sid.szModule = szGPGModuleName;
sid.hIcon = IcoLib_GetIcon("secured");
sid.dwId = 1;
diff --git a/plugins/New_GPG/src/init.cpp b/plugins/New_GPG/src/init.cpp
index 6fb74f3807..79a68b4bba 100644
--- a/plugins/New_GPG/src/init.cpp
+++ b/plugins/New_GPG/src/init.cpp
@@ -124,7 +124,7 @@ static int OnModulesLoaded(WPARAM, LPARAM)
if(!db_get_b(NULL, szGPGModuleName, "FirstRun", 1))
InitCheck();
- StatusIconData sid = { sizeof(sid) };
+ StatusIconData sid = {};
sid.szModule = szGPGModuleName;
sid.flags = MBF_HIDDEN;
sid.dwId = 0x00000001;