mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-02 16:34:37 +00:00
blame_git: remove spuriuous goto
The recent addition of an error code to `pass_whole_blame` in ff8d2eb15
(blame_git: check return value of object lookup, 2017-03-20) introduced
a spurious goto. Remove it.
This commit is contained in:
parent
1d39a60319
commit
4004d68f99
@ -547,7 +547,6 @@ static int pass_blame(git_blame *blame, git_blame__origin *origin, uint32_t opt)
|
||||
if (porigin->blob && origin->blob &&
|
||||
!git_oid_cmp(git_blob_id(porigin->blob), git_blob_id(origin->blob))) {
|
||||
error = pass_whole_blame(blame, origin, porigin);
|
||||
goto finish;
|
||||
origin_decref(porigin);
|
||||
goto finish;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user