From dcc3dd4c7cab334202271d2986f78ace3fc06bfa Mon Sep 17 00:00:00 2001
From: Mathieu Eyraud <[EMAIL REDACTED]>
Date: Sun, 11 Aug 2024 12:17:13 +0200
Subject: [PATCH] Remove stray return statement
---
src/events/SDL_keymap.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/events/SDL_keymap.c b/src/events/SDL_keymap.c
index d69f3f156a599..2344694ddd967 100644
--- a/src/events/SDL_keymap.c
+++ b/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;