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:
ZyX 2017-04-15 19:23:00 +03:00
parent 82ba2891ae
commit d191ba1db3

View File

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