summaryrefslogtreecommitdiff
path: root/protocol.h
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2019-06-15 20:36:35 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-06-17 18:15:04 -0700
commit921d49be86bd44ca290c8db6cc6f419dac3ed442 (patch)
tree73c8ec3613227772c56732a3d7da8e67e596e625 /protocol.h
parentcoccinelle: use COPY_ARRAY for copying arrays (diff)
downloadtgif-921d49be86bd44ca290c8db6cc6f419dac3ed442.tar.xz
use COPY_ARRAY for copying arrays
Convert calls of memcpy(3) to use COPY_ARRAY, which shortens and simplifies the code a bit. Patch generated by Coccinelle and contrib/coccinelle/array.cocci. Signed-off-by: Rene Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'protocol.h')
0 files changed, 0 insertions, 0 deletions