diff options
author | Phillip Wood <phillip.wood@dunelm.org.uk> | 2022-07-08 16:25:17 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-07-08 16:34:30 (GMT) |
commit | 18aae7e21e1a88c75adb38aa2555e0b1928b137d (patch) | |
tree | 1f48acc01e9e7b01cf8380dad5a9f4277db437b5 /delta.h | |
parent | abf04bdaa845a6650d1f44b9f5914df442559d75 (diff) | |
download | git-18aae7e21e1a88c75adb38aa2555e0b1928b137d.zip git-18aae7e21e1a88c75adb38aa2555e0b1928b137d.tar.gz git-18aae7e21e1a88c75adb38aa2555e0b1928b137d.tar.bz2 |
xdiff: introduce xdl_calloc
In preparation for introducing XDL_CALLOC_ARRAY() use calloc() to
obtain zeroed out memory rather than malloc() followed by memset(). To
try and keep the lines a reasonable length this commit also stops
casting the pointer returned by calloc() as this is unnecessary.
Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'delta.h')
0 files changed, 0 insertions, 0 deletions