Commit 1d1fb95a61e6815ba08cd25ab954165a4d693e96

Sam Lantinga 2022-06-28T06:21:45

Removed double va_end()

1
2
3
4
5
6
7
8
9
10
11
12
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); \
         } \