mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-06 11:19:47 +00:00
Merge pull request #4095 from mplough/master
Fix uninitialized variable warning
This commit is contained in:
commit
dad3c319d7
@ -401,7 +401,7 @@ done:
|
||||
static int submodules_from_head(git_strmap *map, git_tree *head, git_config *cfg)
|
||||
{
|
||||
int error;
|
||||
git_iterator *i;
|
||||
git_iterator *i = NULL;
|
||||
const git_index_entry *entry;
|
||||
git_strmap *names = 0;
|
||||
git_strmap_alloc(&names);
|
||||
|
Loading…
Reference in New Issue
Block a user