Revision 0e187d758cd4ad0f929b90b04adee7ec19f7fc93 authored by René Scharfe on 01 October 2017, 15:14:31 UTC, committed by Junio C Hamano on 02 October 2017, 23:42:57 UTC
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>
1 parent 4010f1d
History
File Mode Size
Git
.gitignore -rw-r--r-- 79 bytes
Git.pm -rw-r--r-- 47.8 KB
Makefile -rw-r--r-- 2.2 KB
Makefile.PL -rw-r--r-- 1.6 KB
private-Error.pm -rw-r--r-- 18.6 KB

back to top