mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 07:18:17 +00:00
vim-patch:7.4.1718
Problem: Coverity: not using return value of set_ref_in_item().
Solution: Use the return value.
d56374e25d
This commit is contained in:

committed by
James McCoy

parent
0645787741
commit
e97e24c77e
@@ -6105,7 +6105,8 @@ bool set_ref_in_item(typval_T *tv, int copyID, ht_stack_T **ht_stack,
|
||||
|
||||
if (pt != NULL) {
|
||||
for (i = 0; i < pt->pt_argc; i++) {
|
||||
abort = set_ref_in_item(&pt->pt_argv[i], copyID, ht_stack, list_stack);
|
||||
abort = abort || set_ref_in_item(&pt->pt_argv[i], copyID,
|
||||
ht_stack, list_stack);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user