changeset 8861:45fe799c9672 v7.4.1718

commit https://github.com/vim/vim/commit/d56374e25df0b317b01423a01f158157faa647fa Author: Bram Moolenaar <Bram@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.
author Christian Brabandt <cb@256bit.org>
date Thu, 07 Apr 2016 22:30:05 +0200
parents 3c50de41b173
children e759159b4432
files src/eval.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);
 	}
     }
--- 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,