mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 17:36:29 +00:00
refactor: make char * parameters const in message.c
Add const to char * parameters in message.c functions and remove some redundant casts.
This commit is contained in:
@@ -1639,7 +1639,7 @@ static bool highlight_list_arg(const int id, bool didh, const int type, int iarg
|
||||
msg_puts_attr(name, HL_ATTR(HLF_D));
|
||||
msg_puts_attr("=", HL_ATTR(HLF_D));
|
||||
}
|
||||
msg_outtrans((char *)ts);
|
||||
msg_outtrans(ts);
|
||||
}
|
||||
return didh;
|
||||
}
|
||||
|
Reference in New Issue
Block a user