From 0f0db361b4898abdbf09b6e25186d7ab0604860f Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Wed, 7 Aug 2013 11:00:44 -0700 Subject: [PATCH] Removed SDL_AssertionsInit(). It's a no-op, let's keep it that way. :) --- src/SDL.c | 4 ---- src/SDL_assert.c | 6 ------ src/SDL_assert_c.h | 1 - 3 files changed, 11 deletions(-) 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: */