Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Removed SDL_AssertionsInit(). It's a no-op, let's keep it that way. :)
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Aug 7, 2013
1 parent 164fafa commit 0f0db36
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 11 deletions.
4 changes: 0 additions & 4 deletions src/SDL.c
Expand Up @@ -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();

Expand Down
6 changes: 0 additions & 6 deletions src/SDL_assert.c
Expand Up @@ -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();
Expand Down
1 change: 0 additions & 1 deletion src/SDL_assert_c.h
Expand Up @@ -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: */

0 comments on commit 0f0db36

Please sign in to comment.