summaryrefslogtreecommitdiff
path: root/src/spell.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-04-21 09:20:26 +0200
committerBram Moolenaar <Bram@vim.org>2016-04-21 09:20:26 +0200
commitba53435144f46eaaa53c63a62e748b3feee9742c (patch)
tree6a133172896ff5888b3ae2ab01817ae71b3aab1e /src/spell.c
parent268a06ce901d2c780304e0395028e3c2f60ec755 (diff)
downloadvim-git-ba53435144f46eaaa53c63a62e748b3feee9742c.tar.gz
patch 7.4.1763v7.4.1763
Problem: Coverity: useless assignment. Solution: Add #if 0.
Diffstat (limited to 'src/spell.c')
-rw-r--r--src/spell.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/spell.c b/src/spell.c
index 3f23bf992..259f6d7df 100644
--- a/src/spell.c
+++ b/src/spell.c
@@ -1649,7 +1649,9 @@ find_word(matchinf_T *mip, int mode)
}
}
#endif
+#if 0 /* Disabled, see below */
c = mip->mi_compoff;
+#endif
++mip->mi_complen;
if (flags & WF_COMPROOT)
++mip->mi_compextra;