summaryrefslogtreecommitdiff
path: root/src/notes.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2015-07-28 11:41:27 -0500
committerEdward Thomson <ethomson@microsoft.com>2015-08-28 18:39:47 -0400
commited1c64464a4e3126eef5d74d2c14c19133fa9cd8 (patch)
tree8105397838d42450ae6bd38efe4479cf377eee7b /src/notes.c
parent126932eb0b3986784915acb4fab8f4137d162651 (diff)
downloadlibgit2-ed1c64464a4e3126eef5d74d2c14c19133fa9cd8.tar.gz
iterator: use an options struct instead of args
Diffstat (limited to 'src/notes.c')
-rw-r--r--src/notes.c2
1 files changed, 1 insertions, 1 deletions
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: