mirror of
https://github.com/neovim/neovim.git
synced 2025-09-15 07:48:18 +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) {
|
if (pt != NULL) {
|
||||||
for (i = 0; i < pt->pt_argc; i++) {
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -723,8 +723,8 @@ static int included_patches[] = {
|
|||||||
// 1722 NA
|
// 1722 NA
|
||||||
// 1721 NA
|
// 1721 NA
|
||||||
// 1720,
|
// 1720,
|
||||||
// 1719,
|
1719,
|
||||||
// 1718,
|
1718,
|
||||||
// 1717 NA
|
// 1717 NA
|
||||||
1716,
|
1716,
|
||||||
1715,
|
1715,
|
||||||
|
Reference in New Issue
Block a user