Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
3770bf67
Unverified
Commit
3770bf67
authored
Feb 28, 2023
by
Yuriy Chernyshov
Committed by
GitHub
Feb 28, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused wditer variable
Found this randomly while debugging #6517
parent
25ec3737
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
src/libgit2/index.c
+0
-2
No files found.
src/libgit2/index.c
View file @
3770bf67
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment