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:
@@ -1830,7 +1830,7 @@ compile_load(char_u **arg, char_u *end_arg, cctx_T *cctx, int error)
|
||||
}
|
||||
else
|
||||
{
|
||||
semsg("Namespace not supported yet: %s", **arg);
|
||||
semsg("Namespace not supported yet: %s", *arg);
|
||||
goto theend;
|
||||
}
|
||||
}
|
||||
@@ -2213,7 +2213,7 @@ compile_lambda_call(char_u **arg, cctx_T *cctx)
|
||||
if (**arg != '(')
|
||||
{
|
||||
if (*skipwhite(*arg) == '(')
|
||||
semsg(_(e_nowhitespace));
|
||||
emsg(_(e_nowhitespace));
|
||||
else
|
||||
semsg(_(e_missing_paren), "lambda");
|
||||
clear_tv(&rettv);
|
||||
|
Reference in New Issue
Block a user