about summary refs log tree commit diff
path: root/third_party/git/bulk-checkin.c
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/bulk-checkin.c')
-rw-r--r--third_party/git/bulk-checkin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/git/bulk-checkin.c b/third_party/git/bulk-checkin.c
index 39ee7d6107c1..583aacb9e36b 100644
--- a/third_party/git/bulk-checkin.c
+++ b/third_party/git/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);