From 243d056ff1c2af583ceb67e5dfbfaac51dc96e63 Mon Sep 17 00:00:00 2001 From: Andi-Bogdan Postelnicu Date: Wed, 2 Jun 2021 14:08:11 +0300 Subject: [PATCH] Removed unused variable `supp_size` from plan_subset_encoding(...). --- src/hb-subset-cff1.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) --- src/3rdparty/chromium/third_party/harfbuzz-ng/src/src/hb-subset-cff1.cc.orig 2019-10-21 03:14:54.000000000 -0500 +++ src/3rdparty/chromium/third_party/harfbuzz-ng/src/src/hb-subset-cff1.cc 2022-08-19 09:45:02.000000000 -0500 @@ -461,12 +461,11 @@ unsigned int plan_subset_encoding (const OT::cff1::accelerator_subset_t &acc, hb_subset_plan_t *plan) { const Encoding *encoding = acc.encoding; - unsigned int size0, size1, supp_size; + unsigned int size0, size1; hb_codepoint_t code, last_code = CFF_UNDEF_CODE; hb_vector_t supp_codes; subset_enc_code_ranges.resize (0); - supp_size = 0; supp_codes.init (); subset_enc_num_codes = plan->glyphs.length - 1; @@ -497,7 +496,6 @@ code_pair_t pair = { supp_codes[i], sid }; subset_enc_supp_codes.push (pair); } - supp_size += SuppEncoding::static_size * supp_codes.length; } } supp_codes.fini ();