mirror of
https://github.com/neovim/neovim.git
synced 2025-10-04 00:46:30 +00:00
refactor: add const and remove unnecessary casts (#22841)
This commit is contained in:
@@ -4742,7 +4742,7 @@ void ex_oldfiles(exarg_T *eap)
|
||||
}
|
||||
nr++;
|
||||
const char *fname = tv_get_string(TV_LIST_ITEM_TV(li));
|
||||
if (!message_filtered((char *)fname)) {
|
||||
if (!message_filtered(fname)) {
|
||||
msg_outnum(nr);
|
||||
msg_puts(": ");
|
||||
msg_outtrans((char *)tv_get_string(TV_LIST_ITEM_TV(li)));
|
||||
|
Reference in New Issue
Block a user