[vim] 30/139: patch 7.4.1718 Problem: Coverity: not using return value of set_ref_in_item(). Solution: Use the return value.
James McCoy
jamessan at debian.org
Fri May 6 03:59:57 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 d56374e25df0b317b01423a01f158157faa647fa
Author: Bram Moolenaar <Bram at vim.org>
Date: Thu Apr 7 22:16:30 2016 +0200
patch 7.4.1718
Problem: Coverity: not using return value of set_ref_in_item().
Solution: Use the return value.
---
src/eval.c | 2 +-
src/version.c | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/eval.c b/src/eval.c
index b4e7166..3dc3e21 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -7244,7 +7244,7 @@ set_ref_in_item(
if (pt != NULL)
for (i = 0; i < pt->pt_argc; ++i)
- set_ref_in_item(&pt->pt_argv[i], copyID,
+ abort = abort || set_ref_in_item(&pt->pt_argv[i], copyID,
ht_stack, list_stack);
}
}
diff --git a/src/version.c b/src/version.c
index e0c0888..a808bb7 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 */
/**/
+ 1718,
+/**/
1717,
/**/
1716,
--
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