projects
/
platform
/
upstream
/
libxkbcommon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dbd86d
)
text.c: remove unreachable code
author
Jihoon Kim
<jihoon48.kim@samsung.com>
Wed, 3 Jan 2024 07:47:22 +0000
(16:47 +0900)
committer
Jihoon Kim
<jihoon48.kim@samsung.com>
Wed, 3 Jan 2024 07:47:22 +0000
(16:47 +0900)
Change-Id: I56a7cf554d230cf7233e24c04b1f1ad1f318a194
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
src/text.c
patch
|
blob
|
history
diff --git
a/src/text.c
b/src/text.c
index
3c8ffd3
..
e85b0eb
100644
(file)
--- 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;