mirror of
https://git.proxmox.com/git/libgit2
synced 2025-06-20 22:08:41 +00:00
Merge pull request #2197 from linquize/assert-wrong
Fix wrong assertion
This commit is contained in:
commit
0deb534d76
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user