summaryrefslogtreecommitdiff
path: root/protocols/Weather
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 /protocols/Weather
parenta23186175cff579d5aeb231372e87b0b852bdb38 (diff)
life is too short to remember whether this structure is zeroed or not
Diffstat (limited to 'protocols/Weather')
-rw-r--r--protocols/Weather/src/weather_popup.cpp4
1 files changed, 2 insertions, 2 deletions
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);