Commit 203832c3 by Edward Thomson

strarray: use GIT_ASSERT

parent 1e3c2d9c
...@@ -13,7 +13,8 @@ int git_strarray_copy(git_strarray *tgt, const git_strarray *src) ...@@ -13,7 +13,8 @@ int git_strarray_copy(git_strarray *tgt, const git_strarray *src)
{ {
size_t i; size_t i;
assert(tgt && src); GIT_ASSERT_ARG(tgt);
GIT_ASSERT_ARG(src);
memset(tgt, 0, sizeof(*tgt)); memset(tgt, 0, sizeof(*tgt));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment