Commit 8f460f2c by Paul Holden

blame.c: Remove unnecessary error-check and goto

In private function 'load_blob'.
parent 98c248d7
......@@ -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