summaryrefslogtreecommitdiff
path: root/plugins/StartupSilence
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-03-08 15:29:44 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-03-08 15:29:44 +0300
commit99962115431435cf17dfae4d3b7c8d7d55d824bf (patch)
tree1c80a533f5d3d4ba9d3b894a9a38b9167fe3047e /plugins/StartupSilence
parenta23186175cff579d5aeb231372e87b0b852bdb38 (diff)
life is too short to remember whether this structure is zeroed or not
Diffstat (limited to 'plugins/StartupSilence')
-rw-r--r--plugins/StartupSilence/src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/StartupSilence/src/main.cpp b/plugins/StartupSilence/src/main.cpp
index b2a0e9af05..e2f8ab22be 100644
--- a/plugins/StartupSilence/src/main.cpp
+++ b/plugins/StartupSilence/src/main.cpp
@@ -86,7 +86,7 @@ static void __cdecl AdvSt(void*)
Thread_SetName("StartupSilenc: AdvSt");
if ((Enabled == 1)) {
- POPUPDATAW ppd = { 0 };
+ POPUPDATAW ppd;
wchar_t *lpwzText = L"";
db_set_b(0, "Skin", "UseSound", 0);
Popup_Enable(true);
@@ -212,7 +212,7 @@ static INT_PTR StartupSilenceEnabled(WPARAM, LPARAM)
UpdateMenu();
if (PopUp == 1) {
wchar_t * lpwzText = Enabled == 1 ? S_MODE_CHANGEDON : S_MODE_CHANGEDOFF;
- POPUPDATAW ppd = { 0 };
+ POPUPDATAW ppd;
ppd.lchIcon = IcoLib_GetIconByHandle((Enabled == 1) ? GetIconHandle(ENABLE_SILENCE) : GetIconHandle(DISABLE_SILENCE));
ppd.lchContact = NULL;
ppd.iSeconds = PopUpTime;