Remove stray return statement

This commit is contained in:
Mathieu Eyraud authored and Sam Lantinga committed 2024-08-11 06:57:01 -07:00
1 parent 15a19bd69f
commit dcc3dd4c7c
1 file changed
-1
-1
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;