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 7588f1ca6adffc4b
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
     1.1 --- a/src/SDL.c	Wed Aug 07 09:20:41 2013 -0700
     1.2 +++ b/src/SDL.c	Wed Aug 07 11:00:44 2013 -0700
     1.3 @@ -226,10 +226,6 @@
     1.4  int
     1.5  SDL_Init(Uint32 flags)
     1.6  {
     1.7 -    if (SDL_AssertionsInit() < 0) {
     1.8 -        return -1;
     1.9 -    }
    1.10 -
    1.11      /* Clear the error message */
    1.12      SDL_ClearError();
    1.13  
     2.1 --- a/src/SDL_assert.c	Wed Aug 07 09:20:41 2013 -0700
     2.2 +++ b/src/SDL_assert.c	Wed Aug 07 11:00:44 2013 -0700
     2.3 @@ -325,12 +325,6 @@
     2.4  }
     2.5  
     2.6  
     2.7 -int SDL_AssertionsInit(void)
     2.8 -{
     2.9 -    /* this is a no-op at the moment. */
    2.10 -    return 0;
    2.11 -}
    2.12 -
    2.13  void SDL_AssertionsQuit(void)
    2.14  {
    2.15      SDL_GenerateAssertionReport();
     3.1 --- a/src/SDL_assert_c.h	Wed Aug 07 09:20:41 2013 -0700
     3.2 +++ b/src/SDL_assert_c.h	Wed Aug 07 11:00:44 2013 -0700
     3.3 @@ -19,7 +19,6 @@
     3.4    3. This notice may not be removed or altered from any source distribution.
     3.5  */
     3.6  
     3.7 -extern int SDL_AssertionsInit(void);
     3.8  extern void SDL_AssertionsQuit(void);
     3.9  
    3.10  /* vi: set ts=4 sw=4 expandtab: */