summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/svc_reminder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/UserInfoEx/svc_reminder.cpp')
-rw-r--r--plugins/UserInfoEx/svc_reminder.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/UserInfoEx/svc_reminder.cpp b/plugins/UserInfoEx/svc_reminder.cpp
index d299fc06f6..29441a8fc2 100644
--- a/plugins/UserInfoEx/svc_reminder.cpp
+++ b/plugins/UserInfoEx/svc_reminder.cpp
@@ -1202,10 +1202,7 @@ VOID SvcReminderOnModulesLoaded(VOID)
VOID SvcReminderLoadModule(VOID)
{
// init sounds
- SKINSOUNDDESCEX ssd;
- HOTKEYDESC hk;
-
- ZeroMemory(&ssd, sizeof(ssd));
+ SKINSOUNDDESCEX ssd = { 0 };
ssd.cbSize = SKINSOUNDDESC_SIZE_V1;
ssd.pszSection = LPGEN(MODNAME);
@@ -1228,9 +1225,8 @@ VOID SvcReminderLoadModule(VOID)
myCreateServiceFunction(MS_USERINFO_REMINDER_CHECK, CheckService);
myCreateServiceFunction(MS_USERINFO_REMINDER_AGGRASIVEBACKUP, BackupBirthdayService);
+ HOTKEYDESC hk = { 0 };
hk.cbSize = sizeof(HOTKEYDESC);
- hk.lParam = NULL;
- hk.DefHotKey = NULL;
hk.pszSection = MODNAME;
hk.pszName = "ReminderCheck";
hk.pszDescription = LPGEN("Check anniversaries");