Skip to content

Commit 4004d68

Browse files
committed
blame_git: remove spuriuous goto
The recent addition of an error code to `pass_whole_blame` in ff8d2eb (blame_git: check return value of object lookup, 2017-03-20) introduced a spurious goto. Remove it.
1 parent 1d39a60 commit 4004d68

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/blame_git.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,6 @@ static int pass_blame(git_blame *blame, git_blame__origin *origin, uint32_t opt)
547547
if (porigin->blob && origin->blob &&
548548
!git_oid_cmp(git_blob_id(porigin->blob), git_blob_id(origin->blob))) {
549549
error = pass_whole_blame(blame, origin, porigin);
550-
goto finish;
551550
origin_decref(porigin);
552551
goto finish;
553552
}

0 commit comments

Comments
 (0)