From 99962115431435cf17dfae4d3b7c8d7d55d824bf Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 8 Mar 2019 15:29:44 +0300 Subject: life is too short to remember whether this structure is zeroed or not --- plugins/StatusManager/src/keepstatus.cpp | 2 +- plugins/StatusManager/src/ks_options.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/StatusManager') diff --git a/plugins/StatusManager/src/keepstatus.cpp b/plugins/StatusManager/src/keepstatus.cpp index 0d9f74e08d..2356f77711 100644 --- a/plugins/StatusManager/src/keepstatus.cpp +++ b/plugins/StatusManager/src/keepstatus.cpp @@ -768,7 +768,7 @@ static VOID CALLBACK CheckContinueslyTimer(HWND, UINT, UINT_PTR, DWORD) static INT_PTR ShowPopup(const wchar_t *msg, HICON hIcon) { - POPUPDATAW ppd = {}; + POPUPDATAW ppd; ppd.lchIcon = hIcon; wcsncpy(ppd.lpwzContactName, TranslateT("Keep status"), MAX_CONTACTNAME); wcsncpy(ppd.lpwzText, msg, MAX_SECONDLINE); diff --git a/plugins/StatusManager/src/ks_options.cpp b/plugins/StatusManager/src/ks_options.cpp index 18f0394b26..730ebbbd52 100644 --- a/plugins/StatusManager/src/ks_options.cpp +++ b/plugins/StatusManager/src/ks_options.cpp @@ -371,7 +371,7 @@ static INT_PTR CALLBACK PopupOptDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, L case IDC_PREV: { - POPUPDATAW ppd = {}; + POPUPDATAW ppd; ppd.lchIcon = Skin_LoadIcon(SKINICON_STATUS_OFFLINE); wcsncpy(ppd.lpwzContactName, TranslateT("Keep status"), MAX_CONTACTNAME); wcsncpy(ppd.lpwzText, TranslateT("You broke the Internet!"), MAX_SECONDLINE); -- cgit v1.2.3