summaryrefslogtreecommitdiff
path: root/plugins/Clist
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist')
-rw-r--r--plugins/Clist/clistopts.c4
-rw-r--r--plugins/Clist/cluiopts.c4
2 files changed, 2 insertions, 6 deletions
diff --git a/plugins/Clist/clistopts.c b/plugins/Clist/clistopts.c
index 33e880e3fc..9a787df82b 100644
--- a/plugins/Clist/clistopts.c
+++ b/plugins/Clist/clistopts.c
@@ -236,9 +236,7 @@ static UINT expertOnlyControls[] = { IDC_ALWAYSSTATUS };
int CListOptInit(WPARAM wParam, LPARAM lParam)
{
- OPTIONSDIALOGPAGE odp;
-
- ZeroMemory(&odp, sizeof(odp));
+ OPTIONSDIALOGPAGE odp = { 0 };
odp.cbSize = sizeof(odp);
odp.position = -1000000000;
odp.hInstance = g_hInst;
diff --git a/plugins/Clist/cluiopts.c b/plugins/Clist/cluiopts.c
index 2094716a07..e0b7bdbdee 100644
--- a/plugins/Clist/cluiopts.c
+++ b/plugins/Clist/cluiopts.c
@@ -337,9 +337,7 @@ static UINT expertOnlyControls[] =
int CluiOptInit(WPARAM wParam, LPARAM lParam)
{
- OPTIONSDIALOGPAGE odp;
-
- ZeroMemory(&odp, sizeof(odp));
+ OPTIONSDIALOGPAGE odp = { 0 };
odp.cbSize = sizeof(odp);
odp.position = 0;
odp.hInstance = g_hInst;