mirror of
https://github.com/neovim/neovim.git
synced 2025-09-24 20:18:32 +00:00
refactor: reduce number of unique char casts
This commit is contained in:
@@ -859,7 +859,7 @@ void ex_loadview(exarg_T *eap)
|
||||
{
|
||||
char *fname = get_view_file(*eap->arg);
|
||||
if (fname != NULL) {
|
||||
if (do_source((char_u *)fname, false, DOSO_NONE) == FAIL) {
|
||||
if (do_source(fname, false, DOSO_NONE) == FAIL) {
|
||||
EMSG2(_(e_notopen), fname);
|
||||
}
|
||||
xfree(fname);
|
||||
|
Reference in New Issue
Block a user