diff options
author | Vicent Martà <tanoku@gmail.com> | 2012-02-23 08:18:54 -0800 |
---|---|---|
committer | Vicent Martà <tanoku@gmail.com> | 2012-02-23 08:18:54 -0800 |
commit | df16fbcf36d5bad02c2553cdb15469eb3b603c05 (patch) | |
tree | a35dca7df1e567e7a266d65b09034d87bbf57b26 /src/iterator.c | |
parent | 36d72a5125b28a381b240b1bc506bcf2d59c94b7 (diff) | |
parent | 012695400751148f3f10b2e3302b61adaff28714 (diff) | |
download | libgit2-df16fbcf36d5bad02c2553cdb15469eb3b603c05.tar.gz |
Merge pull request #572 from schu/fix-warning-uninitialized
Fix -Wuninitialized warning
Diffstat (limited to 'src/iterator.c')
-rw-r--r-- | src/iterator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/iterator.c b/src/iterator.c index c2b88ab84..8255d4c9a 100644 --- a/src/iterator.c +++ b/src/iterator.c @@ -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; |