summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJihoon Kim <jihoon48.kim@samsung.com>2024-01-03 16:47:22 +0900
committerJihoon Kim <jihoon48.kim@samsung.com>2024-01-03 16:47:22 +0900
commit38c5aa93aa9fc212a8b4d580ded719a90e1ab85d (patch)
treeebedd6ec22d83c2384052c035c6e68fe9a3df6a4
parent1dbd86d7d4af7f50e7188a238188de7ea69d5bd4 (diff)
downloadlibxkbcommon-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.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/text.c b/src/text.c
index 3c8ffd3..e85b0eb 100644
--- a/src/text.c
+++ b/src/text.c
@@ -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;