mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 02:46:31 +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:
@@ -3643,7 +3643,7 @@ static bool syn_list_keywords(const int id, const hashtab_T *const ht, bool did_
|
||||
prev_skipempty = (kp->flags & HL_SKIPEMPTY);
|
||||
}
|
||||
}
|
||||
msg_outtrans((char *)kp->keyword);
|
||||
msg_outtrans(kp->keyword);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user