Skip to content

Commit c59d519

Browse files
authored
Merge pull request libgit2#6518 from georgthegreat/patch-1
Remove unused wditer variable
2 parents 25ec373 + 3770bf6 commit c59d519

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/libgit2/index.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3397,7 +3397,6 @@ int git_index_add_all(
33973397
{
33983398
int error;
33993399
git_repository *repo;
3400-
git_iterator *wditer = NULL;
34013400
git_pathspec ps;
34023401
bool no_fnmatch = (flags & GIT_INDEX_ADD_DISABLE_PATHSPEC_MATCH) != 0;
34033402

@@ -3423,7 +3422,6 @@ int git_index_add_all(
34233422
git_error_set_after_callback(error);
34243423

34253424
cleanup:
3426-
git_iterator_free(wditer);
34273425
git_pathspec__clear(&ps);
34283426

34293427
return error;

0 commit comments

Comments
 (0)