Commit 01269540 by schu

Fix -Wuninitialized warning

Signed-off-by: schu <schu-github@schulog.org>
parent 36d72a51
...@@ -109,7 +109,7 @@ static int tree_iterator__advance( ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment