mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 06:58:35 +00:00
refactor: make error message definitions const
message.c functions now take const char * as a format. Error message definitions can be made const.
This commit is contained in:
@@ -182,7 +182,7 @@ typedef struct ff_search_ctx_T {
|
||||
# include "file_search.c.generated.h"
|
||||
#endif
|
||||
|
||||
static char e_pathtoolong[] = N_("E854: path too long for completion");
|
||||
static const char e_pathtoolong[] = N_("E854: path too long for completion");
|
||||
|
||||
/// Initialization routine for vim_findfile().
|
||||
///
|
||||
|
Reference in New Issue
Block a user