Remove stray return statement

This commit is contained in:
Mathieu Eyraud 2024-08-11 12:17:13 +02:00 committed by Sam Lantinga
parent 15a19bd69f
commit dcc3dd4c7c

View File

@ -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;