Unverified Commit 3770bf67 by Yuriy Chernyshov Committed by GitHub

Remove unused wditer variable

Found this randomly while debugging #6517
parent 25ec3737
......@@ -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;
......
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