]> git.proxmox.com Git - libgit2.git/blobdiff - src/notes.c
iterator: use an options struct instead of args
[libgit2.git] / src / notes.c
index ef4b41b3164a3c364d0920c31559ce37643a2529..fe8d2164f3c0d36d8c9e781de8f66660b8f922d6 100644 (file)
@@ -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: