summaryrefslogtreecommitdiff
path: root/src/pack.c
diff options
context:
space:
mode:
authorArkady Shapkin <arkadiy_s@inbox.ru>2014-09-03 01:01:25 +0400
committerArkady Shapkin <arkadiy_s@inbox.ru>2014-09-03 01:01:25 +0400
commit5cd81bb3d88218d42dd431f2c5011dfa84c287c7 (patch)
tree43bfda14197265192576842893ecc49b17a0383d /src/pack.c
parentd4cb23e4e50688a9079ab0e3ec12cf2cc1256f04 (diff)
downloadlibgit2-5cd81bb3d88218d42dd431f2c5011dfa84c287c7.tar.gz
Several CppCat warnings fixed
Diffstat (limited to 'src/pack.c')
-rw-r--r--src/pack.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/pack.c b/src/pack.c
index b05aa91f1..7c1cfe03e 100644
--- a/src/pack.c
+++ b/src/pack.c
@@ -648,9 +648,6 @@ int git_packfile_unpack(
base_type = elem->type;
}
- if (error < 0)
- goto cleanup;
-
switch (base_type) {
case GIT_OBJ_COMMIT:
case GIT_OBJ_TREE: