mirror of
https://git.proxmox.com/git/libgit2
synced 2025-08-06 16:39:23 +00:00
Fix -Wuninitialized warning
Signed-off-by: schu <schu-github@schulog.org>
This commit is contained in:
parent
36d72a5125
commit
0126954007
@ -109,7 +109,7 @@ static int tree_iterator__advance(
|
||||
{
|
||||
int error = GIT_SUCCESS;
|
||||
tree_iterator *ti = (tree_iterator *)self;
|
||||
const git_tree_entry *te;
|
||||
const git_tree_entry *te = NULL;
|
||||
|
||||
if (entry != NULL)
|
||||
*entry = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user