diff options
author | Jihoon Kim <jihoon48.kim@samsung.com> | 2024-01-03 16:47:22 +0900 |
---|---|---|
committer | Jihoon Kim <jihoon48.kim@samsung.com> | 2024-01-03 16:47:22 +0900 |
commit | 38c5aa93aa9fc212a8b4d580ded719a90e1ab85d (patch) | |
tree | ebedd6ec22d83c2384052c035c6e68fe9a3df6a4 | |
parent | 1dbd86d7d4af7f50e7188a238188de7ea69d5bd4 (diff) | |
download | libxkbcommon-38c5aa93aa9fc212a8b4d580ded719a90e1ab85d.tar.gz libxkbcommon-38c5aa93aa9fc212a8b4d580ded719a90e1ab85d.tar.bz2 libxkbcommon-38c5aa93aa9fc212a8b4d580ded719a90e1ab85d.zip |
text.c: remove unreachable code
Change-Id: I56a7cf554d230cf7233e24c04b1f1ad1f318a194
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
-rw-r--r-- | src/text.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -216,9 +216,6 @@ ModIndexText(struct xkb_context *ctx, const struct xkb_mod_set *mods, if (ndx == XKB_MOD_INVALID) return "none"; - if (ndx == XKB_MOD_NONE) - return "None"; - if (ndx >= mods->num_mods) return NULL; |