mirror of
https://github.com/neovim/neovim.git
synced 2025-09-19 01:38:16 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user