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)
diff --git a/src/vim9compile.c b/src/vim9compile.c
index f768fc7..a595580 100644
--- a/src/vim9compile.c
+++ b/src/vim9compile.c
@@ -1830,7 +1830,7 @@
}
else
{
- semsg("Namespace not supported yet: %s", **arg);
+ semsg("Namespace not supported yet: %s", *arg);
goto theend;
}
}
@@ -2213,7 +2213,7 @@
if (**arg != '(')
{
if (*skipwhite(*arg) == '(')
- semsg(_(e_nowhitespace));
+ emsg(_(e_nowhitespace));
else
semsg(_(e_missing_paren), "lambda");
clear_tv(&rettv);