mirror of
https://github.com/neovim/neovim.git
synced 2025-10-03 00:18:33 +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:
@@ -1206,7 +1206,7 @@ static void list_one_var_a(const char *prefix, const char *name, const ptrdiff_t
|
||||
msg_putchar(' ');
|
||||
}
|
||||
|
||||
msg_outtrans((char *)string);
|
||||
msg_outtrans(string);
|
||||
|
||||
if (type == VAR_FUNC || type == VAR_PARTIAL) {
|
||||
msg_puts("()");
|
||||
|
Reference in New Issue
Block a user