Merge commit '1d1fb95a61e6815ba08cd25ab954165a4d693e96' into main
diff --git a/src/dynapi/SDL_dynapi.c b/src/dynapi/SDL_dynapi.c
index 19eaf2a..7d8590d 100644
--- a/src/dynapi/SDL_dynapi.c
+++ b/src/dynapi/SDL_dynapi.c
@@ -86,7 +86,6 @@ static void SDL_InitDynamicAPI(void);
va_end(ap); \
} \
} \
- va_end(ap); \
if (result >= 0) { \
result = jump_table.SDL_SetError("%s", str); \
} \