mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 02:46:31 +00:00
refactor: remove redundant casts
This commit is contained in:
@@ -898,7 +898,7 @@ void f_list2str(typval_T *argvars, typval_T *rettv, EvalFuncData fptr)
|
||||
|
||||
TV_LIST_ITER_CONST(l, li, {
|
||||
buf[utf_char2bytes((int)tv_get_number(TV_LIST_ITEM_TV(li)), (char *)buf)] = NUL;
|
||||
ga_concat(&ga, (char *)buf);
|
||||
ga_concat(&ga, buf);
|
||||
});
|
||||
ga_append(&ga, NUL);
|
||||
|
||||
|
Reference in New Issue
Block a user