Fix compiler warning

This commit is contained in:
Behdad Esfahbod committed 2026-10-02 15:52:40 -06:00
1 parent 1c06f05453
commit ff9183045f
1 file changed
+5 -4
+5 -4
View File
@@ -69,10 +69,11 @@ _hb_ot_metrics_get_position_common (hb_font_t *font,
#else
#define GET_VAR .0f
#endif
#define GET_METRIC_X(TABLE, ATTR) \
(face->table.TABLE->has_data () && \
((void) (position && (*position = font->em_scalef_x (_fix_ascender_descender ( \
face->table.TABLE->ATTR + GET_VAR, metrics_tag)))), true))
// Unused:
//#define GET_METRIC_X(TABLE, ATTR) \
// (face->table.TABLE->has_data () && \
// ((void) (position && (*position = font->em_scalef_x (_fix_ascender_descender ( \
// face->table.TABLE->ATTR + GET_VAR, metrics_tag)))), true))
#define GET_METRIC_Y(TABLE, ATTR) \
(face->table.TABLE->has_data () && \
((void) (position && (*position = font->em_scalef_y (_fix_ascender_descender ( \