mirror of
https://github.com/neovim/neovim.git
synced 2025-11-28 21:20:45 +00: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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user