vim-patch:8.1.0233: "safe" argument of call_vim_function() is always FALSE

Problem:    "safe" argument of call_vim_function() is always FALSE.
Solution:   Remove the argument.
ded27a1feb
This commit is contained in:
Jan Edmund Lazo
2019-08-29 23:25:16 -04:00
parent f575b71449
commit 97c1775646
4 changed files with 20 additions and 39 deletions

View File

@@ -2082,7 +2082,8 @@ static void op_colon(oparg_T *oap)
/*
* Handle the "g@" operator: call 'operatorfunc'.
*/
static void op_function(oparg_T *oap)
static void op_function(const oparg_T *oap)
FUNC_ATTR_NONNULL_ALL
{
const TriState save_virtual_op = virtual_op;
@@ -2111,7 +2112,7 @@ static void op_function(oparg_T *oap)
// function.
virtual_op = kNone;
(void)call_func_retnr(p_opfunc, 1, argv, false);
(void)call_func_retnr(p_opfunc, 1, argv);
virtual_op = save_virtual_op;
}