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:
Michael Ennen
2016-11-26 16:00:24 -07:00
committed by James McCoy
parent 0645787741
commit e97e24c77e
2 changed files with 4 additions and 3 deletions

View File

@@ -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);
}
}
}