]> git.ipfire.org Git - thirdparty/git.git/blobdiff - bulk-checkin.c
t4039: abstract away SHA-1-specific constants
[thirdparty/git.git] / bulk-checkin.c
index 39ee7d6107c15f3e5e439992bea8a8f3413aae05..583aacb9e36bded9047d5f18219637ba1613a612 100644 (file)
@@ -197,7 +197,7 @@ static int deflate_to_pack(struct bulk_checkin_state *state,
        git_hash_ctx ctx;
        unsigned char obuf[16384];
        unsigned header_len;
-       struct hashfile_checkpoint checkpoint;
+       struct hashfile_checkpoint checkpoint = {0};
        struct pack_idx_entry *idx = NULL;
 
        seekback = lseek(fd, 0, SEEK_CUR);