Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
[PATCH] Expose object ID computation functions.
[gitweb.git]
/
unpack-objects.c
diff --git
a/unpack-objects.c
b/unpack-objects.c
index 97d268187497b2ab92e13a656894380b97564469..6383db94acc26ed3dc7f1c55abeef06db866d2c7 100644
(file)
--- a/
unpack-objects.c
+++ b/
unpack-objects.c
@@
-55,8
+55,6
@@
static void *get_data(unsigned long size)
z_stream stream;
void *buf = xmalloc(size);
- if (!size)
- return buf;
memset(&stream, 0, sizeof(stream));
stream.next_out = buf;