Removed SDL_AssertionsInit(). It's a no-op, let's keep it that way. :)
This commit is contained in:
parent
2e821930a3
commit
8c143ffe40
3 changed files with 0 additions and 11 deletions
|
@ -226,10 +226,6 @@ SDL_InitSubSystem(Uint32 flags)
|
||||||
int
|
int
|
||||||
SDL_Init(Uint32 flags)
|
SDL_Init(Uint32 flags)
|
||||||
{
|
{
|
||||||
if (SDL_AssertionsInit() < 0) {
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Clear the error message */
|
/* Clear the error message */
|
||||||
SDL_ClearError();
|
SDL_ClearError();
|
||||||
|
|
||||||
|
|
|
@ -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)
|
void SDL_AssertionsQuit(void)
|
||||||
{
|
{
|
||||||
SDL_GenerateAssertionReport();
|
SDL_GenerateAssertionReport();
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
3. This notice may not be removed or altered from any source distribution.
|
3. This notice may not be removed or altered from any source distribution.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
extern int SDL_AssertionsInit(void);
|
|
||||||
extern void SDL_AssertionsQuit(void);
|
extern void SDL_AssertionsQuit(void);
|
||||||
|
|
||||||
/* vi: set ts=4 sw=4 expandtab: */
|
/* vi: set ts=4 sw=4 expandtab: */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue