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 --- protocols/Weather/src/weather_popup.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Weather/src') diff --git a/protocols/Weather/src/weather_popup.cpp b/protocols/Weather/src/weather_popup.cpp index 6e72d5595e..41f95eb743 100644 --- a/protocols/Weather/src/weather_popup.cpp +++ b/protocols/Weather/src/weather_popup.cpp @@ -47,7 +47,7 @@ int WeatherError(WPARAM wParam, LPARAM lParam) else if ((DWORD)lParam == SM_NOTIFY) PUShowMessageW(tszMsg, SM_NOTIFY); else if ((DWORD)lParam == SM_WEATHERALERT) { - POPUPDATAW ppd = { 0 }; + POPUPDATAW ppd; wchar_t str1[512], str2[512]; // get the 2 strings @@ -129,7 +129,7 @@ int WeatherPopup(WPARAM hContact, LPARAM lParam) WEATHERINFO winfo = LoadWeatherInfo(hContact); // setup the popup - POPUPDATAW ppd = { 0 }; + POPUPDATAW ppd; ppd.lchContact = hContact; ppd.PluginData = ppd.lchIcon = Skin_LoadProtoIcon(MODULENAME, winfo.status); GetDisplay(&winfo, opt.pTitle, ppd.lpwzContactName); -- cgit v1.2.3