From 6243fa2ffd8de2cf310ec4851eb0d9faef83b2fa Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Thu, 21 May 2026 18:15:42 +0200 Subject: [PATCH] Fix -Wempty-body warnings in SDL_malloc.c ABORT is used in the assert macro. --- src/stdlib/SDL_malloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stdlib/SDL_malloc.c b/src/stdlib/SDL_malloc.c index d30a8bbb13..cd48c61d9f 100644 --- a/src/stdlib/SDL_malloc.c +++ b/src/stdlib/SDL_malloc.c @@ -28,7 +28,7 @@ #define LACKS_STRINGS_H #define LACKS_STRING_H #define LACKS_STDLIB_H -#define ABORT +#define ABORT do {} while (0) #define NO_MALLOC_STATS 1 #define USE_LOCKS 1 #define USE_DL_PREFIX