mirror of
https://git.proxmox.com/git/libgit2
synced 2026-01-25 16:35:29 +00:00
Merge pull request #1109 from scunz/uninitialized
Fix uninitialized variable
This commit is contained in:
commit
693021262b
@ -341,7 +341,7 @@ int git_submodule_add_finalize(git_submodule *sm)
|
||||
int git_submodule_add_to_index(git_submodule *sm, int write_index)
|
||||
{
|
||||
int error;
|
||||
git_repository *repo, *sm_repo;
|
||||
git_repository *repo, *sm_repo = NULL;
|
||||
git_index *index;
|
||||
git_buf path = GIT_BUF_INIT;
|
||||
git_commit *head;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user