aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-11-14 17:14:30 -0500
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-11-14 17:23:51 -0500
commit35874208b86d52b22476ce2a7770b5317fea8694 (patch)
tree50346281d68fe5a59d38ed5c188b7fec182c48e3 /test
parent78c380f947445d327d33fa068c91a3bb2370c35c (diff)
downloadrneovim-35874208b86d52b22476ce2a7770b5317fea8694.tar.gz
rneovim-35874208b86d52b22476ce2a7770b5317fea8694.tar.bz2
rneovim-35874208b86d52b22476ce2a7770b5317fea8694.zip
globals: eliminate "has_mbyte" macro
"has_mbyte" always evaluates to "true". Continue dead code removal, started in https://github.com/neovim/neovim/pull/13275.
Diffstat (limited to 'test')
-rw-r--r--test/symbolic/klee/nvim/keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/symbolic/klee/nvim/keymap.c b/test/symbolic/klee/nvim/keymap.c
index 07eb4fa70a..ed5f95a344 100644
--- a/test/symbolic/klee/nvim/keymap.c
+++ b/test/symbolic/klee/nvim/keymap.c
@@ -545,7 +545,7 @@ unsigned int trans_special(const char_u **srcp, const size_t src_len,
dst[dlen++] = K_SPECIAL;
dst[dlen++] = (char_u)KEY2TERMCAP0(key);
dst[dlen++] = KEY2TERMCAP1(key);
- } else if (has_mbyte && !keycode) {
+ } else if (!keycode) {
dlen += (unsigned int)(*mb_char2bytes)(key, dst + dlen);
} else if (keycode) {
char_u *after = add_char2buf(key, dst + dlen);