diff --git a/src/hb-coretext.cc b/src/hb-coretext.cc index 04c5c5c0f..90c6653d0 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 44653d578..015707da2 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; }