Skip to content

Commit 0deb534

Browse files
author
Vicent Marti
committed
Merge pull request libgit2#2197 from linquize/assert-wrong
Fix wrong assertion
2 parents 36a80fd + 31a1498 commit 0deb534

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/odb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ int git_odb_get_backend(git_odb_backend **out, git_odb *odb, size_t pos)
445445
{
446446
backend_internal *internal;
447447

448-
assert(odb && odb);
448+
assert(out && odb);
449449
internal = git_vector_get(&odb->backends, pos);
450450

451451
if (internal && internal->backend) {

0 commit comments

Comments
 (0)