From ed1c64464a4e3126eef5d74d2c14c19133fa9cd8 Mon Sep 17 00:00:00 2001 From: Edward Thomson Date: Tue, 28 Jul 2015 11:41:27 -0500 Subject: iterator: use an options struct instead of args --- src/notes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/notes.c') diff --git a/src/notes.c b/src/notes.c index ef4b41b31..fe8d2164f 100644 --- a/src/notes.c +++ b/src/notes.c @@ -663,7 +663,7 @@ int git_note_iterator_new( if (error < 0) goto cleanup; - if ((error = git_iterator_for_tree(it, tree, 0, NULL, NULL)) < 0) + if ((error = git_iterator_for_tree(it, tree, NULL)) < 0) git_iterator_free(*it); cleanup: -- cgit v1.2.1