diff options
author | Patrick Steinhardt <ps@pks.im> | 2017-03-24 08:36:12 +0100 |
---|---|---|
committer | Patrick Steinhardt <ps@pks.im> | 2017-03-24 08:41:10 +0100 |
commit | 4004d68f99c5f8c4f3a338ca0b2e17fddc55c273 (patch) | |
tree | a0813688f65d108e9badbc98a80770e131a1234d | |
parent | 1d39a603198e2b93a15d4e744fa664b56e8b464d (diff) | |
download | libgit2-4004d68f99c5f8c4f3a338ca0b2e17fddc55c273.tar.gz |
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.
-rw-r--r-- | src/blame_git.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/blame_git.c b/src/blame_git.c index 735b62d95..6d2f1531f 100644 --- a/src/blame_git.c +++ b/src/blame_git.c @@ -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; } |