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:
ii14
2023-04-07 19:39:04 +02:00
committed by GitHub
parent d675bd01b1
commit 1d2a29f75b
8 changed files with 23 additions and 23 deletions

View File

@@ -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);
}
}
}