Merge pull request #572 from schu/fix-warning-uninitialized

Fix -Wuninitialized warning
This commit is contained in:
Vicent Martí 2012-02-23 08:18:54 -08:00
commit df16fbcf36

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;