소스 검색

Remove stray return statement

Mathieu Eyraud 1 년 전
부모
커밋
dcc3dd4c7c
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  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;