diff --git a/plugins/windows-notification/api/src/gobject/winrt-toast-notification.cpp b/plugins/windows-notification/api/src/gobject/winrt-toast-notification.cpp index 21404f16..3069660f 100644 --- a/plugins/windows-notification/api/src/gobject/winrt-toast-notification.cpp +++ b/plugins/windows-notification/api/src/gobject/winrt-toast-notification.cpp @@ -70,9 +70,9 @@ struct _winrtWindowsUINotificationsToastNotificationPrivate { winrt::Windows::UI::Notifications::ToastNotification data; - std::list>> activated; - std::list>> failed; - std::list>> dismissed; + std::list>> activated{}; + std::list>> failed{}; + std::list>> dismissed{}; }; typedef struct @@ -375,4 +375,4 @@ void winrt_windows_ui_notifications_toast_notification_RemoveDismissed(winrtWind } return false; }); -} \ No newline at end of file +} diff --git a/plugins/windows-notification/api/src/win32.cpp b/plugins/windows-notification/api/src/win32.cpp index 7907ef24..de7ab433 100644 --- a/plugins/windows-notification/api/src/win32.cpp +++ b/plugins/windows-notification/api/src/win32.cpp @@ -90,7 +90,7 @@ extern "C" gboolean IsWindows10() noexcept { - RTL_OSVERSIONINFOW rovi = { 0 }; + RTL_OSVERSIONINFOW rovi = {}; rovi.dwOSVersionInfoSize = sizeof(rovi); if (S_OK == RtlGetVersion(&rovi)) {