summaryrefslogtreecommitdiff
path: root/compat/win32mmap.c
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2017-10-01 17:14:31 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-10-03 08:42:57 +0900
commit0e187d758cd4ad0f929b90b04adee7ec19f7fc93 (patch)
tree7d4318ef7e4d6e6c67c1646edc9cf558183102a5 /compat/win32mmap.c
parentGit 2.14.2 (diff)
downloadtgif-0e187d758cd4ad0f929b90b04adee7ec19f7fc93.tar.xz
run-command: use ALLOC_ARRAY
Use the macro ALLOC_ARRAY to allocate an array. This is shorter and easier, as it automatically infers the size of elements. Patch generated with Coccinelle and contrib/coccinelle/array.cocci. Signeg-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/win32mmap.c')
0 files changed, 0 insertions, 0 deletions