diff options
author | Anton Ovchinnikov <revolver112@gmail.com> | 2015-03-09 00:40:50 +0100 |
---|---|---|
committer | Anton Ovchinnikov <revolver112@gmail.com> | 2015-03-09 00:40:50 +0100 |
commit | 9925b3a0477e5af348a8348544e69a65a9222c1b (patch) | |
tree | 467cdcd1d1f9f6662aa7ea9331f4ddceacbdbfb8 /src/nvim/ex_cmds.c | |
parent | c0a668aa26a01145bee1d8162e14bacd0a10eca2 (diff) | |
download | rneovim-9925b3a0477e5af348a8348544e69a65a9222c1b.tar.gz rneovim-9925b3a0477e5af348a8348544e69a65a9222c1b.tar.bz2 rneovim-9925b3a0477e5af348a8348544e69a65a9222c1b.zip |
Remove redundant casts
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r-- | src/nvim/ex_cmds.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c index afa397976b..009c128726 100644 --- a/src/nvim/ex_cmds.c +++ b/src/nvim/ex_cmds.c @@ -5136,7 +5136,7 @@ void fix_help_buffer(void) // 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) { @@ -5308,7 +5308,7 @@ void ex_helptags(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, &filecount, &files, EW_FILE|EW_SILENT) == FAIL || filecount == 0) { @@ -5411,7 +5411,7 @@ helptags_one ( // 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, &filecount, &files, EW_FILE|EW_SILENT) == FAIL || filecount == 0) { |