Fix wrong assertion Fixes issue #2196
diff --git a/src/odb.c b/src/odb.c
index 085eda5..df21719 100644
--- a/src/odb.c
+++ b/src/odb.c
@@ -445,7 +445,7 @@ int git_odb_get_backend(git_odb_backend **out, git_odb *odb, size_t pos)
{
backend_internal *internal;
- assert(odb && odb);
+ assert(out && odb);
internal = git_vector_get(&odb->backends, pos);
if (internal && internal->backend) {