aboutsummaryrefslogtreecommitdiff
path: root/pack-bitmap-write.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-09-30 13:19:30 +0900
committerJunio C Hamano <gitster@pobox.com>2019-09-30 13:19:30 +0900
commitd8ce144e11fef0606a531a5a9c34c2a8ca09e155 (patch)
tree92a8566d6fc7eabd26057b1ad6ae355098b9060f /pack-bitmap-write.c
parent2be6ccc01a93a96aa4a462921e15e69ed56b0792 (diff)
parent3a37876b5dca4c18bda67bcdead9c1d79a59933d (diff)
downloadgit-d8ce144e11fef0606a531a5a9c34c2a8ca09e155.tar.xz
Merge branch 'jk/misc-uninitialized-fixes'
Various fixes to codepaths gcc 9 had trouble following dataflow. * jk/misc-uninitialized-fixes: pack-objects: drop packlist index_pos optimization test-read-cache: drop namelen variable diff-delta: set size out-parameter to 0 for NULL delta bulk-checkin: zero-initialize hashfile_checkpoint pack-objects: use object_id in packlist_alloc() git-am: handle missing "author" when parsing commit
Diffstat (limited to 'pack-bitmap-write.c')
-rw-r--r--pack-bitmap-write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pack-bitmap-write.c b/pack-bitmap-write.c
index fa78a460c9..a7a4964b50 100644
--- a/pack-bitmap-write.c
+++ b/pack-bitmap-write.c
@@ -144,7 +144,7 @@ static inline void reset_all_seen(void)
static uint32_t find_object_pos(const struct object_id *oid)
{
- struct object_entry *entry = packlist_find(writer.to_pack, oid, NULL);
+ struct object_entry *entry = packlist_find(writer.to_pack, oid);
if (!entry) {
die("Failed to write bitmap index. Packfile doesn't have full closure "