diff options
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 7e89b77cc..52814bae7 100644 --- a/src/iterator.c +++ b/src/iterator.c @@ -1026,7 +1026,7 @@ static int dirload_with_stat( if ((error = git_path_diriter_init(&diriter, dirpath, flags)) < 0) goto done; - while ((error = git_path_diriter_next(&path, &path_len, &diriter)) == 0) { + while ((error = git_path_diriter_next(&diriter)) == 0) { if ((error = git_path_diriter_fullpath(&path, &path_len, &diriter)) < 0) goto done; |
