Remove stray return statement
This commit is contained in:
committed by
Sam Lantinga
parent
15a19bd69f
commit
dcc3dd4c7c
@@ -1067,7 +1067,6 @@ SDL_Keycode SDL_GetKeyFromName(const char *name)
|
|||||||
} else {
|
} else {
|
||||||
key = SDLK_UNKNOWN;
|
key = SDLK_UNKNOWN;
|
||||||
}
|
}
|
||||||
return SDLK_UNKNOWN;
|
|
||||||
} else {
|
} else {
|
||||||
if (SDL_strlen(name) != 1) {
|
if (SDL_strlen(name) != 1) {
|
||||||
key = SDLK_UNKNOWN;
|
key = SDLK_UNKNOWN;
|
||||||
|
|||||||
Reference in New Issue
Block a user