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"
This commit is contained in:
Junio C Hamano
2024-06-17 15:55:55 -07:00
9 changed files with 11 additions and 2 deletions

View File

@ -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, ...)
{