mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
option: Remove FUNC_ATTR_MALLOC from get_winbuf_options
Same as tv_dict_alloc() and additionally it saves some strings inside a dictionary.
This commit is contained in:
parent
82ba2891ae
commit
d191ba1db3
@ -6974,7 +6974,7 @@ bool signcolumn_on(win_T *wp)
|
||||
|
||||
/// Get window or buffer local options
|
||||
dict_T *get_winbuf_options(const int bufopt)
|
||||
FUNC_ATTR_WARN_UNUSED_RESULT FUNC_ATTR_MALLOC
|
||||
FUNC_ATTR_WARN_UNUSED_RESULT
|
||||
{
|
||||
dict_T *const d = tv_dict_alloc();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user