0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.0.1528: dead code found

Problem:    Dead code found.
Solution:   Remove the useless lines. (CodeAi, closes #2656)
This commit is contained in:
Bram Moolenaar
2018-02-20 21:44:45 +01:00
parent 3cc9f7440d
commit 81226e0310
5 changed files with 3 additions and 6 deletions

View File

@@ -2404,7 +2404,6 @@ did_set_spelllang(win_T *wp)
{
vim_strncpy(region_cp, p + 1, 2);
mch_memmove(p, p + 3, len - (p - lang) - 2);
len -= 3;
region = region_cp;
}
else