diff options
| author | Jeff King <peff@peff.net> | 2024-05-30 02:39:32 -0400 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-05-30 08:55:29 -0700 |
| commit | b639884f9ac78325b9a6658f23c9c245b8ac8263 (patch) | |
| tree | 9de2c58b8372178c796fb5e67d2761a2cad5966b /t/unit-tests/test-lib.c | |
| parent | a3f0e2a06496c8547b27921445ab47f482452a69 (diff) | |
t-strvec: use va_end() to match va_start()
Our check_strvec_loc() helper uses a variable argument list. When we
va_start(), we must be sure to va_end() before leaving the function.
This is required by the standard (though the effect of forgetting will
vary between platforms).
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/unit-tests/test-lib.c')
0 files changed, 0 insertions, 0 deletions
