Fix -Wuninitialized warning

Signed-off-by: schu <schu-github@schulog.org>
This commit is contained in:
schu 2012-02-23 16:51:07 +01:00
parent 36d72a5125
commit 0126954007

View File

@ -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;