[subset-cff] Drop another unused parameter

This commit is contained in:
Behdad Esfahbod 2022-11-26 17:23:09 -07:00
parent 42615561b5
commit 6d53074e63
1 changed files with 3 additions and 6 deletions

View File

@ -955,8 +955,7 @@ struct subr_subsetter_t
return true; return true;
} }
void collect_subr_refs_in_subr (const parsed_cs_str_t &str, void collect_subr_refs_in_subr (unsigned int subr_num, parsed_cs_str_vec_t &subrs,
unsigned int subr_num, parsed_cs_str_vec_t &subrs,
hb_set_t *closure, hb_set_t *closure,
const subr_subset_param_t &param) const subr_subset_param_t &param)
{ {
@ -977,14 +976,12 @@ struct subr_subsetter_t
switch (value->op) switch (value->op)
{ {
case OpCode_callsubr: case OpCode_callsubr:
collect_subr_refs_in_subr (str, collect_subr_refs_in_subr (value->subr_num, *param.parsed_local_subrs,
value->subr_num, *param.parsed_local_subrs,
param.local_closure, param); param.local_closure, param);
break; break;
case OpCode_callgsubr: case OpCode_callgsubr:
collect_subr_refs_in_subr (str, collect_subr_refs_in_subr (value->subr_num, *param.parsed_global_subrs,
value->subr_num, *param.parsed_global_subrs,
param.global_closure, param); param.global_closure, param);
break; break;