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:
@@ -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
|
||||
|
Reference in New Issue
Block a user