diff options
author | Jeff King <peff@peff.net> | 2017-05-13 05:04:58 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-15 13:01:36 +0900 |
commit | 7e936842f54c98eb41fb46c94da417065fe333f5 (patch) | |
tree | 07a89812d6da0428a3cb24d8c232c5fc8f024504 /convert.c | |
parent | convert: move packet_write_line() into pkt-line as packet_writel() (diff) | |
download | tgif-7e936842f54c98eb41fb46c94da417065fe333f5.tar.xz |
pkt-line: annotate packet_writel with LAST_ARG_MUST_BE_NULL
packet_writel() takes a variable-sized list and reads to
the first NULL. Let's let the compiler know so that it can
help us catch mistakes in the callers.
This should have been annotated similarly when it was a
static function, but it's doubly important now that the
function is available to the whole code-base.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'convert.c')
0 files changed, 0 insertions, 0 deletions