Skip to content

Commit 203832c

Browse files
committed
strarray: use GIT_ASSERT
1 parent 1e3c2d9 commit 203832c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/strarray.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ int git_strarray_copy(git_strarray *tgt, const git_strarray *src)
1313
{
1414
size_t i;
1515

16-
assert(tgt && src);
16+
GIT_ASSERT_ARG(tgt);
17+
GIT_ASSERT_ARG(src);
1718

1819
memset(tgt, 0, sizeof(*tgt));
1920

0 commit comments

Comments
 (0)