From cf23c5407be381beac078c5a01977810910b5803 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Tue, 1 Oct 2024 19:41:04 +0300
Subject: [PATCH] SDL_UnloadObject() does not 'return'
---
src/sdl2_compat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/sdl2_compat.c b/src/sdl2_compat.c
index c507f6c..989d5a1 100644
--- a/src/sdl2_compat.c
+++ b/src/sdl2_compat.c
@@ -9454,7 +9454,7 @@ SDL_LoadFunction(void *lib, const char *sym)
SDL_DECLSPEC void SDLCALL
SDL_UnloadObject(void *lib)
{
- return SDL3_UnloadObject((SDL_SharedObject *) lib);
+ SDL3_UnloadObject((SDL_SharedObject *) lib);
}