From ee8cf919654cb191e955fe1f89b1ebfb2b8b32ee Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 30 Jul 2018 16:59:41 -0700 Subject: [PATCH] [serialize] Remove unused truncate() method --- src/hb-machinery-private.hh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/hb-machinery-private.hh b/src/hb-machinery-private.hh index 653d7c6f2..ff56b1dc9 100644 --- a/src/hb-machinery-private.hh +++ b/src/hb-machinery-private.hh @@ -467,12 +467,6 @@ struct hb_serialize_context_t return reinterpret_cast (&obj); } - inline void truncate (void *new_head) - { - assert (this->start < new_head && new_head <= this->head); - this->head = (char *) new_head; - } - unsigned int debug_depth; char *start, *end, *head; bool ran_out_of_room;