PVS/V618: fix printf-style args #11888

We intentionally do not translate API errors. 
ref: https://github.com/neovim/neovim/issues/6150
This commit is contained in:
Justin M. Keyes
2020-02-22 12:59:39 -08:00
committed by GitHub
parent ff1730373c
commit 93c6eb4a66
4 changed files with 12 additions and 12 deletions

View File

@@ -4083,7 +4083,7 @@ static int ins_compl_get_exp(pos_T *ini)
type = CTRL_X_PATH_DEFINES;
else if (*e_cpt == ']' || *e_cpt == 't') {
type = CTRL_X_TAGS;
vim_snprintf((char *)IObuff, IOSIZE, _("Scanning tags."));
vim_snprintf((char *)IObuff, IOSIZE, "%s", _("Scanning tags."));
(void)msg_trunc_attr(IObuff, true, HL_ATTR(HLF_R));
} else {
type = -1;