summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--object-file.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/object-file.c b/object-file.c
index f233b440b2..9210e2e6fe 100644
--- a/object-file.c
+++ b/object-file.c
@@ -1480,8 +1480,6 @@ static int loose_object_info(struct repository *r,
git_inflate_end(&stream);
munmap(map, mapsize);
- if (status && oi->typep)
- *oi->typep = status;
if (oi->sizep == &size_scratch)
oi->sizep = NULL;
strbuf_release(&hdrbuf);