mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 19:25:11 -07:00
eval: Remove incorrect NONNULL_RET attributes
This commit is contained in:
parent
2ba138b2f9
commit
f59ef120e1
@ -17491,14 +17491,14 @@ char_u *get_vim_var_str(int idx) FUNC_ATTR_PURE FUNC_ATTR_NONNULL_RET
|
|||||||
* Get List v: variable value. Caller must take care of reference count when
|
* Get List v: variable value. Caller must take care of reference count when
|
||||||
* needed.
|
* needed.
|
||||||
*/
|
*/
|
||||||
list_T *get_vim_var_list(int idx) FUNC_ATTR_PURE FUNC_ATTR_NONNULL_RET
|
list_T *get_vim_var_list(int idx) FUNC_ATTR_PURE
|
||||||
{
|
{
|
||||||
return vimvars[idx].vv_list;
|
return vimvars[idx].vv_list;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Get Dictionary v: variable value. Caller must take care of reference count
|
/// Get Dictionary v: variable value. Caller must take care of reference count
|
||||||
/// when needed.
|
/// when needed.
|
||||||
dict_T *get_vim_var_dict(int idx) FUNC_ATTR_PURE FUNC_ATTR_NONNULL_RET
|
dict_T *get_vim_var_dict(int idx) FUNC_ATTR_PURE
|
||||||
{
|
{
|
||||||
return vimvars[idx].vv_dict;
|
return vimvars[idx].vv_dict;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user