We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 25ec373 + 3770bf6 commit c59d519Copy full SHA for c59d519
src/libgit2/index.c
@@ -3397,7 +3397,6 @@ int git_index_add_all(
3397
{
3398
int error;
3399
git_repository *repo;
3400
- git_iterator *wditer = NULL;
3401
git_pathspec ps;
3402
bool no_fnmatch = (flags & GIT_INDEX_ADD_DISABLE_PATHSPEC_MATCH) != 0;
3403
@@ -3423,7 +3422,6 @@ int git_index_add_all(
3423
3422
git_error_set_after_callback(error);
3424
3425
cleanup:
3426
- git_iterator_free(wditer);
3427
git_pathspec__clear(&ps);
3428
3429
return error;
0 commit comments