diff --git a/src/hb-coretext.cc b/src/hb-coretext.cc index 04c5c5c0fcdba1bfe9f7715a8a07a13045d05b4d..90c6653d00fe9fc90283963b9a43aea21a1a43f3 100644 --- a/src/hb-coretext.cc +++ b/src/hb-coretext.cc @@ -230,7 +230,7 @@ hb_coretext_face_get_cg_font (hb_face_t *face) struct hb_coretext_shaper_font_data_t {}; hb_coretext_shaper_font_data_t * -_hb_coretext_shaper_font_data_create (hb_font_t *font) +_hb_coretext_shaper_font_data_create (hb_font_t *font HB_UNUSED) { return (hb_coretext_shaper_font_data_t *) HB_SHAPER_DATA_SUCCEEDED; } diff --git a/src/hb-ot-shape.cc b/src/hb-ot-shape.cc index 44653d578686884a925bdcdfb9aa8284b946d260..015707da2690d743c4da3a4021126f83ba4ccd48 100644 --- a/src/hb-ot-shape.cc +++ b/src/hb-ot-shape.cc @@ -145,7 +145,7 @@ _hb_ot_shaper_face_data_destroy (hb_ot_shaper_face_data_t *data) struct hb_ot_shaper_font_data_t {}; hb_ot_shaper_font_data_t * -_hb_ot_shaper_font_data_create (hb_font_t *font) +_hb_ot_shaper_font_data_create (hb_font_t *font HB_UNUSED) { return (hb_ot_shaper_font_data_t *) HB_SHAPER_DATA_SUCCEEDED; }