SDL: Fixed warning: 'fA' may be used uninitialized in this function

From 2cf32b0e0a55e3ca3cc52cd01901a06dca722d9b Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Fri, 17 May 2024 09:42:38 -0700
Subject: [PATCH] Fixed warning: 'fA' may be used uninitialized in this
 function

---
 src/render/SDL_render.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/render/SDL_render.c b/src/render/SDL_render.c
index a6c292ab5e11f..d5701d8b3d814 100644
--- a/src/render/SDL_render.c
+++ b/src/render/SDL_render.c
@@ -1744,7 +1744,7 @@ int SDL_SetTextureAlphaModFloat(SDL_Texture *texture, float alpha)
 
 int SDL_GetTextureAlphaMod(SDL_Texture *texture, Uint8 *alpha)
 {
-    float fA;
+    float fA = 1.0f;
 
     if (SDL_GetTextureAlphaModFloat(texture, &fA) < 0) {
         return -1;