Explorar o código

Remove stray return statement

Mathieu Eyraud hai 1 ano
pai
achega
dcc3dd4c7c
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      src/events/SDL_keymap.c

+ 0 - 1
src/events/SDL_keymap.c

@@ -1067,7 +1067,6 @@ SDL_Keycode SDL_GetKeyFromName(const char *name)
         } else {
             key = SDLK_UNKNOWN;
         }
-        return SDLK_UNKNOWN;
     } else {
         if (SDL_strlen(name) != 1) {
             key = SDLK_UNKNOWN;