summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-04-07 22:16:30 +0200
committerBram Moolenaar <Bram@vim.org>2016-04-07 22:16:30 +0200
commitd56374e25df0b317b01423a01f158157faa647fa (patch)
treeea65b9ca3239c26ae9925c32a8c3a74a8a6cb13c /src
parent0e4c1de5560c7f8b4cae539ec8cff0949daba3fc (diff)
downloadvim-d56374e25df0b317b01423a01f158157faa647fa.zip
patch 7.4.1718
Problem: Coverity: not using return value of set_ref_in_item(). Solution: Use the return value.
Diffstat (limited to 'src')
-rw-r--r--src/eval.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c
index b4e716687..3dc3e210d 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 e0c0888e1..a808bb727 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,