summaryrefslogtreecommitdiff
path: root/tests/libgit2/odb/backend/simple.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libgit2/odb/backend/simple.c')
-rw-r--r--tests/libgit2/odb/backend/simple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libgit2/odb/backend/simple.c b/tests/libgit2/odb/backend/simple.c
index 6c9293ac0..d2051f821 100644
--- a/tests/libgit2/odb/backend/simple.c
+++ b/tests/libgit2/odb/backend/simple.c
@@ -237,7 +237,7 @@ void test_odb_backend_simple__null_oid_is_ignored(void)
{ "0000000000000000000000000000000000000000", "null oid content" },
{ NULL, NULL }
};
- git_oid null_oid = {{0}};
+ git_oid null_oid = GIT_OID_SHA1_ZERO;
git_odb_object *obj;
setup_backend(objs);