Mercurial > vim
diff src/eval.c @ 19760:9daed26b788b v8.2.0436
patch 8.2.0436: no warnings for incorrect printf arguments
Commit: https://github.com/vim/vim/commit/db99f9f29a248b84742b6779c3343123f72065e7
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Mar 23 22:12:22 2020 +0100
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 23 Mar 2020 22:15:05 +0100 |
parents | c0749ad6c699 |
children | f92435f0f449 |
line wrap: on
line diff
--- a/src/eval.c +++ b/src/eval.c @@ -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