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

@@ -542,7 +542,7 @@ gui_init(void)
if (STRCMP(use_gvimrc, "NONE") != 0
&& STRCMP(use_gvimrc, "NORC") != 0
&& do_source(use_gvimrc, FALSE, DOSO_NONE, NULL) != OK)
semsg(_("E230: Cannot read from \"%s\""), use_gvimrc, NULL);
semsg(_("E230: Cannot read from \"%s\""), use_gvimrc);
}
else
{