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/NotifyAnything/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/NotifyAnything/src') diff --git a/plugins/NotifyAnything/src/main.cpp b/plugins/NotifyAnything/src/main.cpp index f6bc0cbd79..7c3995e97e 100644 --- a/plugins/NotifyAnything/src/main.cpp +++ b/plugins/NotifyAnything/src/main.cpp @@ -480,7 +480,7 @@ static LRESULT CALLBACK PopupDlgProc(HWND hWnd, UINT message, WPARAM wParam, LPA int showMessage(const popup_t &msg) { - POPUPDATAW ppd = { 0 }; + POPUPDATAW ppd; wcsncpy(ppd.lpwzText, strip(msg.message).c_str(), MAX_SECONDLINE); wcsncpy(ppd.lpwzContactName, msg.contact.c_str(), MAX_CONTACTNAME); ppd.colorBack = msg.background; -- cgit v1.2.3