mirror of
https://github.com/yawut/SDL.git
synced 2026-08-22 08:45:31 -05:00
Removed SDL_AssertionsInit(). It's a no-op, let's keep it that way. :)
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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: */
|
||||
|
||||
Reference in New Issue
Block a user