Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
am: teach mercurial patch parser how to read from stdin
[gitweb.git]
/
diff.c
diff --git
a/diff.c
b/diff.c
index abc32c8a7dcaf911c4b9af5168a7da35a5d5e24b..7500c5509550ccd9a86d620e06c51a71d61f8b6c 100644
(file)
--- a/
diff.c
+++ b/
diff.c
@@
-2093,7
+2093,6
@@
static unsigned char *deflate_it(char *data,
unsigned char *deflated;
git_zstream stream;
- memset(&stream, 0, sizeof(stream));
git_deflate_init(&stream, zlib_compression_level);
bound = git_deflate_bound(&stream, size);
deflated = xmalloc(bound);