[vim] 80/139: patch 7.4.1763 Problem: Coverity: useless assignment. Solution: Add #if 0.
James McCoy
jamessan at debian.org
Fri May 6 04:00:07 UTC 2016
This is an automated email from the git hooks/post-receive script.
jamessan pushed a commit to branch debian/sid
in repository vim.
commit ba53435144f46eaaa53c63a62e748b3feee9742c
Author: Bram Moolenaar <Bram at vim.org>
Date: Thu Apr 21 09:20:26 2016 +0200
patch 7.4.1763
Problem: Coverity: useless assignment.
Solution: Add #if 0.
---
src/spell.c | 2 ++
src/version.c | 2 ++
2 files changed, 4 insertions(+)
diff --git a/src/spell.c b/src/spell.c
index 3f23bf9..259f6d7 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 9cbce20..9ec96b2 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,
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-vim/vim.git
More information about the pkg-vim-maintainers
mailing list