mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 06:28:35 +00:00
refactor: add const and remove unnecessary casts (#22841)
This commit is contained in:
@@ -2153,7 +2153,7 @@ static void print_mainerr(const char *errstr, const char *str)
|
||||
os_errmsg(_(errstr));
|
||||
if (str != NULL) {
|
||||
os_errmsg(": \"");
|
||||
os_errmsg((char *)str);
|
||||
os_errmsg(str);
|
||||
os_errmsg("\"");
|
||||
}
|
||||
os_errmsg(_("\nMore info with \""));
|
||||
|
Reference in New Issue
Block a user