summaryrefslogtreecommitdiff
path: root/protocols/YAMN/src/proto/pop3
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/YAMN/src/proto/pop3')
-rw-r--r--protocols/YAMN/src/proto/pop3/pop3opt.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/protocols/YAMN/src/proto/pop3/pop3opt.cpp b/protocols/YAMN/src/proto/pop3/pop3opt.cpp
index fe5d7dd0a3..83551a631c 100644
--- a/protocols/YAMN/src/proto/pop3/pop3opt.cpp
+++ b/protocols/YAMN/src/proto/pop3/pop3opt.cpp
@@ -1270,16 +1270,13 @@ INT_PTR CALLBACK DlgProcPOP3AccPopup(HWND hDlg, UINT msg, WPARAM wParam, LPARAM
case IDC_PREVIEW:
{
- POPUPDATAW Tester;
- POPUPDATAW TesterF;
- POPUPDATAW TesterN;
+ POPUPDATAW Tester = {};
+ POPUPDATAW TesterF = {};
+ POPUPDATAW TesterN = {};
BOOL TesterC = (IsDlgButtonChecked(hDlg, IDC_CHECKCOL) == BST_CHECKED);
BOOL TesterFC = (IsDlgButtonChecked(hDlg, IDC_CHECKFCOL) == BST_CHECKED);
BOOL TesterNC = (IsDlgButtonChecked(hDlg, IDC_CHECKNCOL) == BST_CHECKED);
- memset(&Tester, 0, sizeof(Tester));
- memset(&TesterF, 0, sizeof(TesterF));
- memset(&TesterN, 0, sizeof(TesterN));
Tester.lchIcon = g_LoadIconEx(2);
TesterF.lchIcon = g_LoadIconEx(3);
TesterN.lchIcon = g_LoadIconEx(1);