From 10620ec33e2460e84e94bc3557acf2a26d6d95ff Mon Sep 17 00:00:00 2001 From: Frank Praznik Date: Wed, 10 Jun 2026 14:48:59 -0400 Subject: [PATCH] notification: Remove unused parameter --- src/notification/windows/SDL_windowsnotification.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/notification/windows/SDL_windowsnotification.c b/src/notification/windows/SDL_windowsnotification.c index e3441bcbc0..fa6ad4d633 100644 --- a/src/notification/windows/SDL_windowsnotification.c +++ b/src/notification/windows/SDL_windowsnotification.c @@ -784,7 +784,7 @@ static bool AppendXmlText(SDL_IOStream *dst, const char *text) return true; } -static WCHAR *BuildNotificationXml(SDL_PropertiesID props, const WCHAR *icon_path, SDL_NotificationID id, Uint32 *wchar_count) +static WCHAR *BuildNotificationXml(SDL_PropertiesID props, const WCHAR *icon_path, Uint32 *wchar_count) { WCHAR *xml = NULL; SDL_IOStream *dst = SDL_IOFromDynamicMem(); @@ -951,7 +951,7 @@ SDL_NotificationID SDL_SYS_ShowNotification(SDL_PropertiesID props) // Build the XML description for the notification. Uint32 xml_len = 0; - WCHAR *xml = BuildNotificationXml(props, image_path, new_id, &xml_len); + WCHAR *xml = BuildNotificationXml(props, image_path, &xml_len); SDL_free(image_path); if (!xml) { return 0; @@ -1017,7 +1017,7 @@ SDL_NotificationID SDL_SYS_ShowNotification(SDL_PropertiesID props) } } - // Tag with the ID for future replacement. + // Tag with the ID for future removal or replacement. { __x_ABI_CWindows_CUI_CNotifications_CIToastNotification2 *pToastNotification2; HSTRING_HEADER hshTag;