Commit 3bb9916c by Edward Thomson

odb_mempack: use GIT_ASSERT

parent 9d1cfb2f
...@@ -156,7 +156,7 @@ int git_mempack_new(git_odb_backend **out) ...@@ -156,7 +156,7 @@ int git_mempack_new(git_odb_backend **out)
{ {
struct memory_packer_db *db; struct memory_packer_db *db;
assert(out); GIT_ASSERT_ARG(out);
db = git__calloc(1, sizeof(struct memory_packer_db)); db = git__calloc(1, sizeof(struct memory_packer_db));
GIT_ERROR_CHECK_ALLOC(db); GIT_ERROR_CHECK_ALLOC(db);
......
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