diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-04-21 09:20:26 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-04-21 09:20:26 +0200 |
commit | ba53435144f46eaaa53c63a62e748b3feee9742c (patch) | |
tree | 6a133172896ff5888b3ae2ab01817ae71b3aab1e | |
parent | 268a06ce901d2c780304e0395028e3c2f60ec755 (diff) | |
download | vim-git-ba53435144f46eaaa53c63a62e748b3feee9742c.tar.gz |
patch 7.4.1763v7.4.1763
Problem: Coverity: useless assignment.
Solution: Add #if 0.
-rw-r--r-- | src/spell.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 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; diff --git a/src/version.c b/src/version.c index 9cbce20b9..9ec96b2cc 100644 --- a/src/version.c +++ b/src/version.c @@ -749,6 +749,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1763, +/**/ 1762, /**/ 1761, |