mirror of
https://git.proxmox.com/git/libgit2
synced 2025-10-15 05:46:27 +00:00
Remove unused pointer assignment
This commit is contained in:
parent
c0b10c25e0
commit
dbfd83bc65
@ -2397,7 +2397,7 @@ int git_merge__indexes(git_repository *repo, git_index *index_new)
|
||||
|
||||
/* Remove removed items from the index */
|
||||
git_vector_foreach(&paths, i, path) {
|
||||
if ((e = git_index_get_bypath(index_new, path, 0)) == NULL) {
|
||||
if (git_index_get_bypath(index_new, path, 0) == NULL) {
|
||||
if ((error = git_index_remove(index_repo, path, 0)) < 0 &&
|
||||
error != GIT_ENOTFOUND)
|
||||
goto done;
|
||||
|
Loading…
Reference in New Issue
Block a user