mirror of
https://github.com/neovim/neovim.git
synced 2025-09-08 12:28:18 +00:00
option: use char* for set_string_option_direct()
"name" param was cast to (const char *). All calls to set_string_option_direct() cast 1st arg from (char *) to (char_u *). Remove these useless casts.
This commit is contained in:
@@ -1375,7 +1375,7 @@ void diff_win_options(win_T *wp, int addbuf)
|
||||
}
|
||||
wp->w_p_fdm_save = vim_strsave(wp->w_p_fdm);
|
||||
}
|
||||
set_string_option_direct((char_u *)"fdm", -1, (char_u *)"diff",
|
||||
set_string_option_direct("fdm", -1, (char_u *)"diff",
|
||||
OPT_LOCAL | OPT_FREE, 0);
|
||||
curwin = old_curwin;
|
||||
curbuf = curwin->w_buffer;
|
||||
|
Reference in New Issue
Block a user