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> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| t-ctype.c | ||
| t-mem-pool.c | ||
| t-prio-queue.c | ||
| t-strbuf.c | ||
| t-strvec.c | ||
| t-trailer.c | ||
| test-lib.c | ||
| test-lib.h | ||