Commit 0deb534d by Vicent Marti

Merge pull request #2197 from linquize/assert-wrong

Fix wrong assertion
parents 36a80fda 31a14982
...@@ -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