diff options
author | Eric Wong <e@80x24.org> | 2019-10-06 23:30:24 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-10-07 10:20:09 +0900 |
commit | e010a41216efd85eacc4c0711ea405de4fb20526 (patch) | |
tree | a136bf1cba8eb2f0185341de22b0e635d04276f1 /sha256/gcrypt.h | |
parent | First batch after Git 2.23 (diff) | |
download | tgif-e010a41216efd85eacc4c0711ea405de4fb20526.tar.xz |
diff: use hashmap_entry_init on moved_entry.ent
Otherwise, the hashmap_entry.next field appears to remain
uninitialized, which can lead to problems when
add_lines_to_move_detection calls hashmap_add.
I found this through manual inspection when converting
hashmap_add callers to take "struct hashmap_entry *".
Signed-off-by: Eric Wong <e@80x24.org>
Reviewed-by: Derrick Stolee <stolee@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sha256/gcrypt.h')
0 files changed, 0 insertions, 0 deletions