From 6d53074e6375c1680f40b647a1b4ad88dd3cc1c6 Mon Sep 17 00:00:00 2001
From: Behdad Esfahbod <behdad@behdad.org>
Date: Sat, 26 Nov 2022 17:23:09 -0700
Subject: [PATCH] [subset-cff] Drop another unused parameter

---
 src/hb-subset-cff-common.hh | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/src/hb-subset-cff-common.hh b/src/hb-subset-cff-common.hh
index 8fed0231e..dd1bd797d 100644
--- a/src/hb-subset-cff-common.hh
+++ b/src/hb-subset-cff-common.hh
@@ -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 &param)
   {
@@ -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;