mirror of
https://github.com/neovim/neovim.git
synced 2025-09-15 15:58:17 +00:00
Remove redundant casts
This commit is contained in:
@@ -3554,7 +3554,7 @@ void ex_helpgrep(exarg_T *eap)
|
||||
|
||||
// Note: We cannot just do `&NameBuff` because it is a statically sized array
|
||||
// so `NameBuff == &NameBuff` according to C semantics.
|
||||
char_u *buff_list[1] = {(char_u*) NameBuff};
|
||||
char_u *buff_list[1] = {NameBuff};
|
||||
if (gen_expand_wildcards(1, buff_list, &fcount,
|
||||
&fnames, EW_FILE|EW_SILENT) == OK
|
||||
&& fcount > 0) {
|
||||
|
Reference in New Issue
Block a user