Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
8860:3c50de41b173 | 8861:45fe799c9672 |
---|---|
7242 partial_T *pt = tv->vval.v_partial; | 7242 partial_T *pt = tv->vval.v_partial; |
7243 int i; | 7243 int i; |
7244 | 7244 |
7245 if (pt != NULL) | 7245 if (pt != NULL) |
7246 for (i = 0; i < pt->pt_argc; ++i) | 7246 for (i = 0; i < pt->pt_argc; ++i) |
7247 set_ref_in_item(&pt->pt_argv[i], copyID, | 7247 abort = abort || set_ref_in_item(&pt->pt_argv[i], copyID, |
7248 ht_stack, list_stack); | 7248 ht_stack, list_stack); |
7249 } | 7249 } |
7250 } | 7250 } |
7251 else if (tv->v_type == VAR_LIST) | 7251 else if (tv->v_type == VAR_LIST) |
7252 { | 7252 { |