diff --git a/src/blame.c b/src/blame.c index 219a6bfe4..ea9f77af5 100644 --- a/src/blame.c +++ b/src/blame.c @@ -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;