summaryrefslogtreecommitdiff
path: root/commit-reach.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2024-05-30 02:39:56 -0400
committerJunio C Hamano <gitster@pobox.com>2024-05-30 08:55:29 -0700
commit34eb843721bb3cd54e5fd1689d8f62bbba619bd9 (patch)
tree086a79743d467f951b97e92ec571d0402090a342 /commit-reach.c
parentb639884f9ac78325b9a6658f23c9c245b8ac8263 (diff)
t-strvec: mark variable-arg helper with LAST_ARG_MUST_BE_NULL
This will let the compiler catch a problem like: /* oops, we forgot the NULL */ check_strvec(&vec, "foo"); rather than triggering undefined behavior at runtime. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-reach.c')
0 files changed, 0 insertions, 0 deletions