Merge branch 'ss/pull-rebase-preserve' into maint
[gitweb.git] / remote-curl.c
index 515ac9b411a211936a575628706a30ea4a2ccc3f..696a5ecf05d116bb24847079b5741fffe905a2f3 100644 (file)
@@ -567,7 +567,6 @@ static int post_rpc(struct rpc_state *rpc)
                git_zstream stream;
                int ret;
 
-               memset(&stream, 0, sizeof(stream));
                git_deflate_init_gzip(&stream, Z_BEST_COMPRESSION);
                gzip_size = git_deflate_bound(&stream, rpc->len);
                gzip_body = xmalloc(gzip_size);