X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=bulk-checkin.c;h=583aacb9e36bded9047d5f18219637ba1613a612;hb=d4a98e701f86bdff469d0f1ed912ba1651c23c3f;hp=39ee7d6107c15f3e5e439992bea8a8f3413aae05;hpb=a477abe9e4bdf1dd3627c20b69ed8b51f27c2f81;p=thirdparty%2Fgit.git 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);