From d8635dfe5a06d1112ea563dcef788097b7b124af Mon Sep 17 00:00:00 2001 From: Garret Rieger Date: Wed, 1 Dec 2021 10:14:10 -0800 Subject: [PATCH] [subset] Fix warning about uninitialized use of end_cp. --- src/hb-ot-cmap-table.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-ot-cmap-table.hh b/src/hb-ot-cmap-table.hh index fd96a2758..b9d3aaa69 100644 --- a/src/hb-ot-cmap-table.hh +++ b/src/hb-ot-cmap-table.hh @@ -99,8 +99,8 @@ struct CmapSubtableFormat4 hb_requires (hb_is_iterator (Iterator))> void to_ranges (Iterator it, Writer& range_writer) { - hb_codepoint_t start_cp, prev_run_start_cp, run_start_cp, end_cp, last_gid; - int run_length, delta, prev_delta; + hb_codepoint_t start_cp, prev_run_start_cp, run_start_cp, end_cp, last_gid = 0; + int run_length, delta, prev_delta = 0; enum { FIRST_SUB_RANGE,