diff src/SDL.c @ 3663:bc50cd16bb07

Moved the assertion tests to testplatform
author Sam Lantinga <slouken@libsdl.org>
date Wed, 13 Jan 2010 09:48:42 +0000
parents c5925cd41955
children 47d923feedb0
line wrap: on
line diff
--- a/src/SDL.c	Wed Jan 13 09:44:17 2010 +0000
+++ b/src/SDL.c	Wed Jan 13 09:48:42 2010 +0000
@@ -181,20 +181,6 @@
         SDL_InstallParachute();
     }
 
-    /* brief sanity checks for the sanity checks.  :)  */
-    SDL_assert(1);
-    SDL_assert_release(1);
-    SDL_assert_paranoid(1);
-    SDL_assert(0 || 1);
-    SDL_assert_release(0 || 1);
-    SDL_assert_paranoid(0 || 1);
-
-#if 0   /* enable this to test assertion failures. */
-    SDL_assert_release(1 == 2);
-    SDL_assert_release(5 < 4);
-    SDL_assert_release(0 && "This is a test");
-#endif
-
     return (0);
 }