diff options
author | Junio C Hamano <gitster@pobox.com> | 2024-06-18 00:55:55 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-06-18 00:55:55 +0200 |
commit | cff3b034d5e75c84725823290afed62c93bc2317 (patch) | |
tree | 6a4ca6ecc757d40a079bc25d5094a68cb4c6c406 /add-patch.c | |
parent | Merge branch 'ps/ref-storage-migration' (diff) | |
parent | __attribute__: add a few missing format attributes (diff) | |
download | git-cff3b034d5e75c84725823290afed62c93bc2317.tar.xz git-cff3b034d5e75c84725823290afed62c93bc2317.zip |
Merge branch 'jc/varargs-attributes'
Varargs functions that are unannotated as printf-like or execl-like
have been annotated as such.
* jc/varargs-attributes:
__attribute__: add a few missing format attributes
__attribute__: mark some functions with LAST_ARG_MUST_BE_NULL
__attribute__: remove redundant attribute declaration for git_die_config()
__attribute__: trace2_region_enter_printf() is like "printf"
Diffstat (limited to 'add-patch.c')
-rw-r--r-- | add-patch.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/add-patch.c b/add-patch.c index 814de57c4a..d8ea05ff10 100644 --- a/add-patch.c +++ b/add-patch.c @@ -299,6 +299,7 @@ static void err(struct add_p_state *s, const char *fmt, ...) va_end(args); } +LAST_ARG_MUST_BE_NULL static void setup_child_process(struct add_p_state *s, struct child_process *cp, ...) { |