Removed SDL_AssertionsInit(). It's a no-op, let's keep it that way. :)
authorRyan C. Gordon <icculus@icculus.org>
Wed, 07 Aug 2013 11:00:44 -0700
changeset 7588 f1ca6adffc4b
parent 7587 6438df1610ae
child 7589 e9a7333d86f0
Removed SDL_AssertionsInit(). It's a no-op, let's keep it that way. :)
src/SDL.c
src/SDL_assert.c
src/SDL_assert_c.h
--- a/src/SDL.c	Wed Aug 07 09:20:41 2013 -0700
+++ b/src/SDL.c	Wed Aug 07 11:00:44 2013 -0700
@@ -226,10 +226,6 @@
 int
 SDL_Init(Uint32 flags)
 {
-    if (SDL_AssertionsInit() < 0) {
-        return -1;
-    }
-
     /* Clear the error message */
     SDL_ClearError();
 
--- a/src/SDL_assert.c	Wed Aug 07 09:20:41 2013 -0700
+++ b/src/SDL_assert.c	Wed Aug 07 11:00:44 2013 -0700
@@ -325,12 +325,6 @@
 }
 
 
-int SDL_AssertionsInit(void)
-{
-    /* this is a no-op at the moment. */
-    return 0;
-}
-
 void SDL_AssertionsQuit(void)
 {
     SDL_GenerateAssertionReport();
--- a/src/SDL_assert_c.h	Wed Aug 07 09:20:41 2013 -0700
+++ b/src/SDL_assert_c.h	Wed Aug 07 11:00:44 2013 -0700
@@ -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: */