Removed unused variable supp_size
from plan_subset_encoding(...).
This commit is contained in:
parent
7ab0f4eda9
commit
243d056ff1
@ -402,7 +402,7 @@ struct cff_subset_plan {
|
||||
void 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<hb_codepoint_t> supp_codes;
|
||||
|
||||
@ -412,7 +412,6 @@ struct cff_subset_plan {
|
||||
return;
|
||||
}
|
||||
|
||||
supp_size = 0;
|
||||
supp_codes.init ();
|
||||
|
||||
subset_enc_num_codes = plan->num_output_glyphs () - 1;
|
||||
@ -448,7 +447,6 @@ struct cff_subset_plan {
|
||||
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 ();
|
||||
|
Loading…
Reference in New Issue
Block a user