diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2021-07-13 08:05:18 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-07-13 22:20:20 (GMT) |
commit | 48ca53cac4a5bee2dee3a5f3d6550753bf696d28 (patch) | |
tree | 1ec36f9e4422ce21f9c3085c62066aa85530e52e /midx.c | |
parent | d4ac305073411bd70ae94e79c8fe8130a7d378aa (diff) | |
download | git-48ca53cac4a5bee2dee3a5f3d6550753bf696d28.zip git-48ca53cac4a5bee2dee3a5f3d6550753bf696d28.tar.gz git-48ca53cac4a5bee2dee3a5f3d6550753bf696d28.tar.bz2 |
*.c static functions: add missing __attribute__((format))
Add missing __attribute__((format)) function attributes to various
"static" functions that take printf arguments.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'midx.c')
-rw-r--r-- | midx.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1162,6 +1162,7 @@ void clear_midx_file(struct repository *r) static int verify_midx_error; +__attribute__((format (printf, 1, 2))) static void midx_report(const char *fmt, ...) { va_list ap; |