From 773cf4fdd30cf9d4b8a7139ce2992156dc86bc00 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 21 Jan 2022 07:30:09 -0700 Subject: [PATCH] [post] Initialize variables --- src/hb-ot-post-table.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-ot-post-table.hh b/src/hb-ot-post-table.hh index f72a6ff03..a4844e94b 100644 --- a/src/hb-ot-post-table.hh +++ b/src/hb-ot-post-table.hh @@ -252,9 +252,9 @@ struct post private: uint32_t version; - const Array16Of *glyphNameIndex; + const Array16Of *glyphNameIndex = nullptr; hb_vector_t index_to_offset; - const uint8_t *pool; + const uint8_t *pool = nullptr; hb_atomic_ptr_t gids_sorted_by_name; };