Unverified Commit c59d519c by Edward Thomson Committed by GitHub

Merge pull request #6518 from georgthegreat/patch-1

Remove unused wditer variable
parents 25ec3737 3770bf67
...@@ -3397,7 +3397,6 @@ int git_index_add_all( ...@@ -3397,7 +3397,6 @@ int git_index_add_all(
{ {
int error; int error;
git_repository *repo; git_repository *repo;
git_iterator *wditer = NULL;
git_pathspec ps; git_pathspec ps;
bool no_fnmatch = (flags & GIT_INDEX_ADD_DISABLE_PATHSPEC_MATCH) != 0; bool no_fnmatch = (flags & GIT_INDEX_ADD_DISABLE_PATHSPEC_MATCH) != 0;
...@@ -3423,7 +3422,6 @@ int git_index_add_all( ...@@ -3423,7 +3422,6 @@ int git_index_add_all(
git_error_set_after_callback(error); git_error_set_after_callback(error);
cleanup: cleanup:
git_iterator_free(wditer);
git_pathspec__clear(&ps); git_pathspec__clear(&ps);
return error; return error;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment