diff options
author | René Scharfe <l.s.r@web.de> | 2016-10-16 12:06:02 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-10-17 14:42:56 -0700 |
commit | 0ac52a38e8008fa5bb243e150031681420c639fa (patch) | |
tree | e0002e605c44b9316eed9fdbf8074db83700f72e /builtin/pack-objects.c | |
parent | e9451782cfbe9fc9105bf63228bca3e2265af8f8 (diff) | |
download | git-jk/tighten-alloc.tar.gz |
inline xalloc_flex() into FLEXPTR_ALLOC_MEMjk/tighten-alloc
Allocate and copy directly in FLEXPTR_ALLOC_MEM and remove the now
unused helper function xalloc_flex(). The resulting code is shorter
and the offset arithmetic is a bit simpler.
Suggested-by: Jeff King <peff@peff.net>
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Reviewed-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/pack-objects.c')
0 files changed, 0 insertions, 0 deletions