SDL: Fixed warning C6001: Using uninitialized memory 'devName'.

From e29393e40700ba45f66fd36f298f8ad91ee24f9f Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Mon, 4 Dec 2023 21:44:26 -0800
Subject: [PATCH] Fixed warning C6001: Using uninitialized memory 'devName'.

---
 src/joystick/windows/SDL_windows_gaming_input.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/joystick/windows/SDL_windows_gaming_input.c b/src/joystick/windows/SDL_windows_gaming_input.c
index db946a0f909a..ca86f707c760 100644
--- a/src/joystick/windows/SDL_windows_gaming_input.c
+++ b/src/joystick/windows/SDL_windows_gaming_input.c
@@ -143,7 +143,7 @@ static SDL_bool SDL_IsXInputDevice(Uint16 vendor, Uint16 product)
 
     for (i = 0; i < raw_device_count; i++) {
         RID_DEVICE_INFO rdi;
-        char devName[MAX_PATH];
+        char devName[MAX_PATH] = { 0 };
         UINT rdiSize = sizeof(rdi);
         UINT nameSize = SDL_arraysize(devName);
         DEVINST devNode;