Commit 31a14982 by Linquize

Fix wrong assertion

Fixes issue #2196
parent 36a80fda
...@@ -445,7 +445,7 @@ int git_odb_get_backend(git_odb_backend **out, git_odb *odb, size_t pos) ...@@ -445,7 +445,7 @@ int git_odb_get_backend(git_odb_backend **out, git_odb *odb, size_t pos)
{ {
backend_internal *internal; backend_internal *internal;
assert(odb && odb); assert(out && odb);
internal = git_vector_get(&odb->backends, pos); internal = git_vector_get(&odb->backends, pos);
if (internal && internal->backend) { if (internal && internal->backend) {
......
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