Commit c4fcae5f by Vicent Martí

Merge pull request #1989 from palistov/blame-cleanup

blame.c: Remove unnecessary error-check and goto
parents 98c248d7 8f460f2c
......@@ -282,8 +282,6 @@ static int load_blob(git_blame *blame)
goto cleanup;
error = git_object_lookup_bypath((git_object**)&blame->final_blob,
(git_object*)blame->final, blame->path, GIT_OBJ_BLOB);
if (error < 0)
goto cleanup;
cleanup:
return error;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment