mirror of
https://git.proxmox.com/git/libgit2
synced 2025-06-24 00:58:22 +00:00
Merge pull request #572 from schu/fix-warning-uninitialized
Fix -Wuninitialized warning
This commit is contained in:
commit
df16fbcf36
@ -109,7 +109,7 @@ static int tree_iterator__advance(
|
|||||||
{
|
{
|
||||||
int error = GIT_SUCCESS;
|
int error = GIT_SUCCESS;
|
||||||
tree_iterator *ti = (tree_iterator *)self;
|
tree_iterator *ti = (tree_iterator *)self;
|
||||||
const git_tree_entry *te;
|
const git_tree_entry *te = NULL;
|
||||||
|
|
||||||
if (entry != NULL)
|
if (entry != NULL)
|
||||||
*entry = NULL;
|
*entry = NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user