8000 Minor code cleanup · GiTechLab/libgit2sharp@cf0a893 · GitHub
[go: up one dir, main page]

Skip to content

Commit cf0a893

Browse files
committed
Minor code cleanup
1 parent 05e81e7 commit cf0a893

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

LibGit2Sharp/Index.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,11 +157,9 @@ public virtual void Clear()
157157
UpdatePhysicalIndex();
158158
}
159159

160-
private string RemoveFromIndex(string relativePath)
160+
private void RemoveFromIndex(string relativePath)
161161
{
162162
Proxy.git_index_remove_bypath(handle, relativePath);
163-
164-
return relativePath;
165163
}
166164

167165
private void UpdatePhysicalIndex()

0 commit comments

Comments
 (0)
0