diff --git a/src/SDL.c b/src/SDL.c index 567cc0785..f73bdb59b 100644 --- a/src/SDL.c +++ b/src/SDL.c @@ -226,10 +226,6 @@ SDL_InitSubSystem(Uint32 flags) int SDL_Init(Uint32 flags) { - if (SDL_AssertionsInit() < 0) { - return -1; - } - /* Clear the error message */ SDL_ClearError(); diff --git a/src/SDL_assert.c b/src/SDL_assert.c index f1eb25597..a4cf6434f 100644 --- a/src/SDL_assert.c +++ b/src/SDL_assert.c @@ -325,12 +325,6 @@ SDL_ReportAssertion(SDL_assert_data *data, const char *func, const char *file, } -int SDL_AssertionsInit(void) -{ - /* this is a no-op at the moment. */ - return 0; -} - void SDL_AssertionsQuit(void) { SDL_GenerateAssertionReport(); diff --git a/src/SDL_assert_c.h b/src/SDL_assert_c.h index 12b1aa5e9..29802c04e 100644 --- a/src/SDL_assert_c.h +++ b/src/SDL_assert_c.h @@ -19,7 +19,6 @@ 3. This notice may not be removed or altered from any source distribution. */ -extern int SDL_AssertionsInit(void); extern void SDL_AssertionsQuit(void); /* vi: set ts=4 sw=4 expandtab: */