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 52814bae7..c5c5fd7ce 100644 --- a/src/iterator.c +++ b/src/iterator.c @@ -1011,7 +1011,7 @@ static int dirload_with_stat( const char *end_stat, git_vector *contents) { - git_path_diriter diriter = {0}; + git_path_diriter diriter = GIT_PATH_DIRITER_INIT; const char *path; int (*strncomp)(const char *a, const char *b, size_t sz); size_t start_len = start_stat ? strlen(start_stat) : 0; |
