summaryrefslogtreecommitdiff
path: root/Documentation/manpage-quote-apos.xsl
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2021-07-03 14:57:30 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-07-06 13:07:50 -0700
commit5632e838f8fa73abfce3f66d2781b8e6d7b14001 (patch)
tree8221b4be27b61e43ea71823c7177e580d60b8a30 /Documentation/manpage-quote-apos.xsl
parentGit 2.32 (diff)
downloadtgif-5632e838f8fa73abfce3f66d2781b8e6d7b14001.tar.xz
khash: clarify that allocations never fail
We use our standard allocation functions and macros (xcalloc, ALLOC_ARRAY, REALLOC_ARRAY) in our version of khash.h. They terminate the program on error instead, so code that's using them doesn't have to handle allocation failures. Make this behavior explicit by turning kh_resize_ into a void function and removing the related unreachable error handling code. Helped-by: Jeff King <peff@peff.net> Signed-off-by: René Scharfe <l.s.r@web.de> Acked-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/manpage-quote-apos.xsl')
0 files changed, 0 insertions, 0 deletions