Sdl12-compat: SDL_GetRGB and SDL_GetRGBA don't return a value (gcc didn't error!)

From 0ec5291044eaac31e3b78494a4737390c7a142ce Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Fri, 19 Feb 2021 17:27:50 +0300
Subject: [PATCH] SDL_GetRGB and SDL_GetRGBA don't return a value (gcc didn't
 error!)

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

diff --git a/src/SDL12_compat.c b/src/SDL12_compat.c
index e7a9504..91a9ec4 100644
--- a/src/SDL12_compat.c
+++ b/src/SDL12_compat.c
@@ -2486,7 +2486,7 @@ SDL_GetRGB(Uint32 pixel, const SDL12_PixelFormat *format12, Uint8 *r, Uint8 *g,
     /* This is probably way slower than apps expect. */
     SDL_PixelFormat format20;
     SDL_Palette palette20;
-    return SDL20_GetRGB(pixel, PixelFormat12to20(&format20, &palette20, format12), r, g, b);
+    SDL20_GetRGB(pixel, PixelFormat12to20(&format20, &palette20, format12), r, g, b);
 }
 
 DECLSPEC void SDLCALL
@@ -2495,7 +2495,7 @@ SDL_GetRGBA(Uint32 pixel, const SDL12_PixelFormat *format12, Uint8 *r, Uint8 *g,
     /* This is probably way slower than apps expect. */
     SDL_PixelFormat format20;
     SDL_Palette palette20;
-    return SDL20_GetRGBA(pixel, PixelFormat12to20(&format20, &palette20, format12), r, g, b, a);
+    SDL20_GetRGBA(pixel, PixelFormat12to20(&format20, &palette20, format12), r, g, b, a);
 }
 
 DECLSPEC const SDL12_VideoInfo * SDLCALL