mirror of
https://github.com/libgit2/libgit2.git
synced 2026-01-25 02:56:17 +00:00
Remove unused wditer variable
Found this randomly while debugging #6517
This commit is contained in:
@@ -3397,7 +3397,6 @@ int git_index_add_all(
|
||||
{
|
||||
int error;
|
||||
git_repository *repo;
|
||||
git_iterator *wditer = NULL;
|
||||
git_pathspec ps;
|
||||
bool no_fnmatch = (flags & GIT_INDEX_ADD_DISABLE_PATHSPEC_MATCH) != 0;
|
||||
|
||||
@@ -3423,7 +3422,6 @@ int git_index_add_all(
|
||||
git_error_set_after_callback(error);
|
||||
|
||||
cleanup:
|
||||
git_iterator_free(wditer);
|
||||
git_pathspec__clear(&ps);
|
||||
|
||||
return error;
|
||||
|
||||
Reference in New Issue
Block a user