mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-29 20:42:23 +00:00
Return success code on git_cache_init
This commit is contained in:
parent
3fe2e770ca
commit
4edf3e099a
@ -60,6 +60,8 @@ int git_cache_init(git_cache *cache, size_t size, git_cached_obj_freeptr free_pt
|
|||||||
cache->nodes[i].ptr = NULL;
|
cache->nodes[i].ptr = NULL;
|
||||||
cache->nodes[i].lru = 0;
|
cache->nodes[i].lru = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return GIT_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
void git_cache_free(git_cache *cache)
|
void git_cache_free(git_cache *cache)
|
||||||
|
Loading…
Reference in New Issue
Block a user