X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fgit.git;a=blobdiff_plain;f=bulk-checkin.c;h=583aacb9e36bded9047d5f18219637ba1613a612;hp=39ee7d6107c15f3e5e439992bea8a8f3413aae05;hb=37ab8ebef164cc2813658c824561a09dc7cde22f;hpb=c425d361f5bf46d99cd96d7eac3488ebb2e92b60 diff --git a/bulk-checkin.c b/bulk-checkin.c index 39ee7d6107..583aacb9e3 100644 --- a/bulk-checkin.c +++ b/bulk-checkin.c @@ -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);