mirror of https://github.com/libsdl-org/SDL.git
Remove stray return statement
This commit is contained in:
parent
15a19bd69f
commit
dcc3dd4c7c
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue