[subset-cff] Drop another unused parameter
This commit is contained in:
parent
42615561b5
commit
6d53074e63
|
@ -955,8 +955,7 @@ struct subr_subsetter_t
|
|||
return true;
|
||||
}
|
||||
|
||||
void collect_subr_refs_in_subr (const parsed_cs_str_t &str,
|
||||
unsigned int subr_num, parsed_cs_str_vec_t &subrs,
|
||||
void collect_subr_refs_in_subr (unsigned int subr_num, parsed_cs_str_vec_t &subrs,
|
||||
hb_set_t *closure,
|
||||
const subr_subset_param_t ¶m)
|
||||
{
|
||||
|
@ -977,14 +976,12 @@ struct subr_subsetter_t
|
|||
switch (value->op)
|
||||
{
|
||||
case OpCode_callsubr:
|
||||
collect_subr_refs_in_subr (str,
|
||||
value->subr_num, *param.parsed_local_subrs,
|
||||
collect_subr_refs_in_subr (value->subr_num, *param.parsed_local_subrs,
|
||||
param.local_closure, param);
|
||||
break;
|
||||
|
||||
case OpCode_callgsubr:
|
||||
collect_subr_refs_in_subr (str,
|
||||
value->subr_num, *param.parsed_global_subrs,
|
||||
collect_subr_refs_in_subr (value->subr_num, *param.parsed_global_subrs,
|
||||
param.global_closure, param);
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue