diff options
| author | Vicent Martà <vicent@github.com> | 2013-12-06 04:29:59 -0800 |
|---|---|---|
| committer | Vicent Martà <vicent@github.com> | 2013-12-06 04:29:59 -0800 |
| commit | c4fcae5f7cacf9478d1d92c6586615e5afcc3ac8 (patch) | |
| tree | 063e16830b15d8ee4fb5230e4396e8ad4fbc4bce | |
| parent | 98c248d7bf57c2a74761bb8bb8b41a965cdf58d6 (diff) | |
| parent | 8f460f2c464bb5dd7bb65374cfa3d965badc8da1 (diff) | |
| download | libgit2-c4fcae5f7cacf9478d1d92c6586615e5afcc3ac8.tar.gz | |
Merge pull request #1989 from palistov/blame-cleanup
blame.c: Remove unnecessary error-check and goto
| -rw-r--r-- | src/blame.c | 2 |
1 files changed, 0 insertions, 2 deletions
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; |
