From 61d5c5af29c4802eddaa0a2baa270b11d2d0f5fd Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Fri, 11 Jun 2021 04:00:02 +0300
Subject: [PATCH] Scancode20to12: removed unreached return statement.
---
src/SDL12_compat.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/SDL12_compat.c b/src/SDL12_compat.c
index b7c9d14..851ee7b 100644
--- a/src/SDL12_compat.c
+++ b/src/SDL12_compat.c
@@ -2561,13 +2561,12 @@ Scancode20to12(SDL_Scancode sc)
CASESCANCODE20TO12(X, 0x35, 0x07);
CASESCANCODE20TO12(Y, 0x1D, 0x10);
CASESCANCODE20TO12(Z, 0x34, 0x06);
-#undef CASESCANCODE20TO12
+#undef CASESCANCODE20TO12
default:
/* If we don't know it, return 0, which is "unknown".
It's also "a" on Mac OS X, but SDL 1.2 uses it as "unknown", too. */
return 0;
}
- return 0;
}
DECLSPEC Uint8 * SDLCALL