0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.0436: no warnings for incorrect printf arguments

Problem:    No warnings for incorrect printf arguments.
Solution:   Fix attribute in declaration.  Fix uncovered mistakes. (Dominique
            Pelle, closes #5834)
This commit is contained in:
Bram Moolenaar
2020-03-23 22:12:22 +01:00
parent dbbb0ef729
commit db99f9f29a
9 changed files with 32 additions and 30 deletions

View File

@@ -2848,7 +2848,7 @@ eval_lambda(
if (verbose)
{
if (*skipwhite(*arg) == '(')
semsg(_(e_nowhitespace));
emsg(_(e_nowhitespace));
else
semsg(_(e_missing_paren), "lambda");
}
@@ -2910,7 +2910,7 @@ eval_method(
else if (VIM_ISWHITE((*arg)[-1]))
{
if (verbose)
semsg(_(e_nowhitespace));
emsg(_(e_nowhitespace));
ret = FAIL;
}
else