sdl2-compat: remove some unnecessary initializations of locals.

From a5008337547e8da63637a809ef5f35903f59df4a Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Tue, 8 Aug 2023 17:11:10 +0300
Subject: [PATCH] remove some unnecessary initializations of locals.

---
 src/sdl2_compat.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/sdl2_compat.c b/src/sdl2_compat.c
index 6cef490..bf5cd31 100644
--- a/src/sdl2_compat.c
+++ b/src/sdl2_compat.c
@@ -4389,9 +4389,9 @@ DisplayMode_3to2(const SDL_DisplayMode *in, SDL2_DisplayMode *out) {
 static SDL_DisplayID
 Display_IndexToID(int displayIndex)
 {
-    SDL_DisplayID displayID = 0;
+    SDL_DisplayID displayID;
     int count = 0;
-    SDL_DisplayID *list = NULL;
+    SDL_DisplayID *list;
 
     list = SDL3_GetDisplays(&count);
 
@@ -4416,7 +4416,7 @@ DECLSPEC int SDLCALL
 SDL_GetNumVideoDisplays(void)
 {
     int count = 0;
-    SDL_DisplayID *list = NULL;
+    SDL_DisplayID *list;
     list = SDL3_GetDisplays(&count);
     SDL3_free(list);
     return count;
@@ -4448,7 +4448,7 @@ Display_IDToIndex(SDL_DisplayID displayID)
 {
     int displayIndex = 0;
     int count = 0, i;
-    SDL_DisplayID *list = NULL;
+    SDL_DisplayID *list;
 
     if (displayID == 0) {
         SDL3_SetError("invalid displayID");