mirror of
https://git.proxmox.com/git/libgit2
synced 2026-01-06 18:52:21 +00:00
Fixes a Win32/MSVC compilation issue.
This commit is contained in:
parent
412b388776
commit
40be9ae0a8
@ -208,9 +208,10 @@ size_t git_tree_entrycount(git_tree *tree)
|
||||
|
||||
int git_tree_add_entry_unsorted(git_tree_entry **entry_out, git_tree *tree, const git_oid *id, const char *filename, int attributes)
|
||||
{
|
||||
git_tree_entry *entry;
|
||||
|
||||
assert(tree && id && filename);
|
||||
|
||||
git_tree_entry *entry;
|
||||
if ((entry = git__malloc(sizeof(git_tree_entry))) == NULL)
|
||||
return GIT_ENOMEM;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user