From 203832c3ff784728c527179eaffb14bc0e31f3bd Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Sat, 21 Nov 2020 23:04:04 +0000 Subject: strarray: use GIT_ASSERT --- src/strarray.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/strarray.c b/src/strarray.c index 54fe9fbfb..2f9b77cc2 100644 --- a/src/strarray.c +++ b/src/strarray.c @@ -13,7 +13,8 @@ int git_strarray_copy(git_strarray *tgt, const git_strarray *src) { size_t i; - assert(tgt && src); + GIT_ASSERT_ARG(tgt); + GIT_ASSERT_ARG(src); memset(tgt, 0, sizeof(*tgt)); -- cgit v1.2.1