mirror of
https://github.com/neovim/neovim.git
synced 2025-10-07 10:26:31 +00:00
vim-patch:8.2.4241: some type casts are redundant
Problem: Some type casts are redundant.
Solution: Remove the type casts. (closes vim/vim#9643)
420fabcd4f
This is not a literal port but an equivalent one.
This commit is contained in:
@@ -268,7 +268,7 @@ void do_debug(char_u *cmd)
|
||||
DOCMD_VERBOSE|DOCMD_EXCRESET);
|
||||
debug_break_level = n;
|
||||
}
|
||||
lines_left = (int)(Rows - 1);
|
||||
lines_left = Rows - 1;
|
||||
}
|
||||
xfree(cmdline);
|
||||
|
||||
@@ -277,7 +277,7 @@ void do_debug(char_u *cmd)
|
||||
redraw_all_later(NOT_VALID);
|
||||
need_wait_return = false;
|
||||
msg_scroll = save_msg_scroll;
|
||||
lines_left = (int)(Rows - 1);
|
||||
lines_left = Rows - 1;
|
||||
State = save_State;
|
||||
debug_mode = false;
|
||||
did_emsg = save_did_emsg;
|
||||
|
Reference in New Issue
Block a user