fsck: support demoting errors to warnings
[gitweb.git] / bulk-checkin.c
index c80e503728333fede3d043e4a7e60e02eec4d452..7cffc3a579e4a02c1422284092cef18cd4b7d059 100644 (file)
@@ -105,7 +105,6 @@ static int stream_to_pack(struct bulk_checkin_state *state,
        int write_object = (flags & HASH_WRITE_OBJECT);
        off_t offset = 0;
 
-       memset(&s, 0, sizeof(s));
        git_deflate_init(&s, pack_compression_level);
 
        hdrlen = encode_in_pack_object_header(type, size, obuf);