summaryrefslogtreecommitdiff
path: root/src/spell.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-02-20 21:44:45 +0100
committerBram Moolenaar <Bram@vim.org>2018-02-20 21:44:45 +0100
commit81226e03102dd00b7cdce0e00775e1e30462f9a6 (patch)
treedace60a552668bfd17bde5c5fbccbb4ae66024a8 /src/spell.c
parent3cc9f7440d857ff8360c15bb11e4e6229463920e (diff)
downloadvim-81226e03102dd00b7cdce0e00775e1e30462f9a6.zip
patch 8.0.1528: dead code found
Problem: Dead code found. Solution: Remove the useless lines. (CodeAi, closes #2656)
Diffstat (limited to 'src/spell.c')
-rw-r--r--src/spell.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/spell.c b/src/spell.c
index 3c53d1d25..0e08e9e7b 100644
--- a/src/spell.c
+++ b/src/spell.c
@@ -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