From 1d9ef3a75a445a52d084e805d4abdbaaa4c782d7 Mon Sep 17 00:00:00 2001 From: Garret Rieger Date: Wed, 1 Dec 2021 10:30:27 -0800 Subject: [PATCH] [subset] Actually fix end_cp unitialized warning. --- 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 b9d3aaa69..d837adc78 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 = 0; - int run_length, delta, prev_delta = 0; + hb_codepoint_t start_cp = 0, prev_run_start_cp = 0, run_start_cp = 0, end_cp = 0, last_gid = 0; + int run_length = 0 , delta = 0, prev_delta = 0; enum { FIRST_SUB_RANGE,