X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Ftext.c;h=e85b0eb3c1a1b4d66fa400dc894a7e32442be3a8;hb=38c5aa93aa9fc212a8b4d580ded719a90e1ab85d;hp=3c8ffd36133f3558e3a51a485b12a27c2ad8eec7;hpb=1dbd86d7d4af7f50e7188a238188de7ea69d5bd4;p=platform%2Fupstream%2Flibxkbcommon.git 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;