diff options
author | Eliseo Martínez <eliseomarmol@gmail.com> | 2014-11-12 13:49:11 +0100 |
---|---|---|
committer | Eliseo Martínez <eliseomarmol@gmail.com> | 2014-11-15 12:48:29 +0100 |
commit | 7d3aac2d7111138b288a83005171b7900b8bcddd (patch) | |
tree | 04c46b54af511cb62207b24fd5133a61d0ed0968 | |
parent | b02905bdd7555b2016930c2e802f79656bada9fc (diff) | |
download | rneovim-7d3aac2d7111138b288a83005171b7900b8bcddd.tar.gz rneovim-7d3aac2d7111138b288a83005171b7900b8bcddd.tar.bz2 rneovim-7d3aac2d7111138b288a83005171b7900b8bcddd.zip |
Fix warnings: spell.c: find_word(): Dead assignment: HI.
Problem : Dead assignment @ 1602.
Diagnostic : Harmless issue.
Rationale : Code using this assignment (line 1666) was disabled. Vim's
tip at Wed Nov 12 13:07:54 2014 +0100 (changeset
6352:2f7bf5f90f57) hasn't changed this yet.
Resolution : Disable assignment. Directive processors are used for that
in order to match the way the other code was disabled.
-rw-r--r-- | src/nvim/spell.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/spell.c b/src/nvim/spell.c index 342f121c48..38d52a7f53 100644 --- a/src/nvim/spell.c +++ b/src/nvim/spell.c @@ -1599,7 +1599,9 @@ static void find_word(matchinf_T *mip, int mode) mip->mi_compoff = (int)(p - mip->mi_fword); } } +#if 0 c = mip->mi_compoff; +#endif ++mip->mi_complen; if (flags & WF_COMPROOT) ++mip->mi_compextra; |