summaryrefslogtreecommitdiff
path: root/protocols/WebView/src
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/WebView/src')
-rw-r--r--protocols/WebView/src/webview_alerts.cpp2
-rw-r--r--protocols/WebView/src/webview_opts.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/WebView/src/webview_alerts.cpp b/protocols/WebView/src/webview_alerts.cpp
index 776b100181..d03742bdb9 100644
--- a/protocols/WebView/src/webview_alerts.cpp
+++ b/protocols/WebView/src/webview_alerts.cpp
@@ -111,7 +111,7 @@ int WAlertOSD(MCONTACT hContact, wchar_t *displaytext)
/*****************************************************************************/
int PopupAlert(WPARAM hContact, LPARAM lParam)
{
- POPUPDATAW ppd = { 0 };
+ POPUPDATAW ppd;
if (hContact != 0)
mir_wstrncpy(ppd.lpwzContactName, ptrW(g_plugin.getWStringA(hContact, PRESERVE_NAME_KEY)), _countof(ppd.lpwzContactName));
diff --git a/protocols/WebView/src/webview_opts.cpp b/protocols/WebView/src/webview_opts.cpp
index 35b47b8110..9d9a75830d 100644
--- a/protocols/WebView/src/webview_opts.cpp
+++ b/protocols/WebView/src/webview_opts.cpp
@@ -187,7 +187,7 @@ INT_PTR CALLBACK DlgPopUpOpts(HWND hdlg, UINT msg, WPARAM wParam, LPARAM lParam)
case IDC_PREVIEW:
wchar_t str3[512];
- POPUPDATAW ppd = { 0 };
+ POPUPDATAW ppd;
GetDlgItemText(hdlg, IDC_DELAY, str3, _countof(str3));