diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2021-07-13 10:05:18 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-07-14 00:20:20 +0200 |
commit | 48ca53cac4a5bee2dee3a5f3d6550753bf696d28 (patch) | |
tree | 1ec36f9e4422ce21f9c3085c62066aa85530e52e /commit-graph.c | |
parent | sequencer.c: move static function to avoid forward decl (diff) | |
download | git-48ca53cac4a5bee2dee3a5f3d6550753bf696d28.tar.xz git-48ca53cac4a5bee2dee3a5f3d6550753bf696d28.zip |
*.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 'commit-graph.c')
-rw-r--r-- | commit-graph.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/commit-graph.c b/commit-graph.c index 2bcb4e0f89..9179a3a647 100644 --- a/commit-graph.c +++ b/commit-graph.c @@ -2408,6 +2408,7 @@ cleanup: #define VERIFY_COMMIT_GRAPH_ERROR_HASH 2 static int verify_commit_graph_error; +__attribute__((format (printf, 1, 2))) static void graph_report(const char *fmt, ...) { va_list ap; |