diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-04-07 22:16:30 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-04-07 22:16:30 +0200 |
commit | d56374e25df0b317b01423a01f158157faa647fa (patch) | |
tree | ea65b9ca3239c26ae9925c32a8c3a74a8a6cb13c /src | |
parent | 0e4c1de5560c7f8b4cae539ec8cff0949daba3fc (diff) | |
download | vim-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.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
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, |