summaryrefslogtreecommitdiff
path: root/src/odb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/odb.c')
-rw-r--r--src/odb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/odb.c b/src/odb.c
index 4e54c749a..2013ac24c 100644
--- a/src/odb.c
+++ b/src/odb.c
@@ -162,7 +162,7 @@ int git_odb_new(git_odb **out)
if (!db)
return GIT_ENOMEM;
- if (git_vector_init(&db->backends, 4, backend_sort_cmp, NULL) < 0) {
+ if (git_vector_init(&db->backends, 4, backend_sort_cmp) < 0) {
free(db);
return GIT_ENOMEM;
}