diff src/eval.c @ 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 03250bc0c63a
children e1b84109506a
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);
 	}
     }