0
0
mirror of https://github.com/vim/vim.git synced 2025-09-28 04:24:06 -04:00

patch 8.2.3274: macro for printf format check can be simplified

Problem:    Macro for printf format check can be simplified.
Solution:   Add ATTRIBUTE_FORMAT_PRINTF(). (Dominique Pellé, issue #8635)
This commit is contained in:
Bram Moolenaar
2021-08-02 18:07:18 +02:00
parent 1321257317
commit 952d9d827e
11 changed files with 38 additions and 67 deletions

View File

@@ -54,7 +54,7 @@ static void special_keys(char_u *args);
static int getConnInfo(char *file, char **host, char **port, char **password);
static void nb_init_graphics(void);
static void coloncmd(char *cmd, ...);
static void coloncmd(char *cmd, ...) ATTRIBUTE_FORMAT_PRINTF(1, 2);
static void nb_set_curbuf(buf_T *buf);
static void nb_parse_cmd(char_u *);
static int nb_do_cmd(int, char_u *, int, int, char_u *);