Explorar o código

assert: Possibly fixing compiler warning on Android.

Ryan C. Gordon %!s(int64=6) %!d(string=hai) anos
pai
achega
59e510b0b6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/SDL_assert.c

+ 1 - 1
src/SDL_assert.c

@@ -378,7 +378,7 @@ SDL_ReportAssertion(SDL_assert_data *data, const char *func, const char *file,
     {
         case SDL_ASSERTION_ABORT:
             SDL_AbortAssertion();
-            return SDL_ASSERTION_IGNORE;  /* shouldn't return, but oh well. */
+            break;  /* shouldn't return, but oh well. */
 
         case SDL_ASSERTION_ALWAYS_IGNORE:
             state = SDL_ASSERTION_IGNORE;