mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-09 20:06:45 +00:00
blame.c: Remove unnecessary error-check and goto
In private function 'load_blob'.
This commit is contained in:
parent
98c248d7bf
commit
8f460f2c46
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user