Merge pull request #1989 from palistov/blame-cleanup

blame.c: Remove unnecessary error-check and goto
This commit is contained in:
Vicent Martí 2013-12-06 04:29:59 -08:00
commit c4fcae5f7c

View File

@ -282,8 +282,6 @@ static int load_blob(git_blame *blame)
goto cleanup; goto cleanup;
error = git_object_lookup_bypath((git_object**)&blame->final_blob, error = git_object_lookup_bypath((git_object**)&blame->final_blob,
(git_object*)blame->final, blame->path, GIT_OBJ_BLOB); (git_object*)blame->final, blame->path, GIT_OBJ_BLOB);
if (error < 0)
goto cleanup;
cleanup: cleanup:
return error; return error;