SDL: Fixed potential uninitialized variable usage

From 67cb3874eff7d98a806ae2f757b35b82cbac9e68 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 12 Aug 2022 20:51:28 -0700
Subject: [PATCH] Fixed potential uninitialized variable usage

---
 src/stdlib/SDL_string.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/stdlib/SDL_string.c b/src/stdlib/SDL_string.c
index ac591e84ae5..a789f43195e 100644
--- a/src/stdlib/SDL_string.c
+++ b/src/stdlib/SDL_string.c
@@ -1207,7 +1207,7 @@ SDL_vsscanf(const char *text, const char *fmt, va_list ap)
                     SDL_FALLTHROUGH;
                 case 'd':
                     if (inttype == DO_LONGLONG) {
-                        Sint64 value;
+                        Sint64 value = 0;
                         advance = SDL_ScanLongLong(text, count, radix, &value);
                         text += advance;
                         if (advance && !suppress) {
@@ -1216,7 +1216,7 @@ SDL_vsscanf(const char *text, const char *fmt, va_list ap)
                             ++retval;
                         }
                     } else {
-                        long value;
+                        long value = 0;
                         advance = SDL_ScanLong(text, count, radix, &value);
                         text += advance;
                         if (advance && !suppress) {