From 2f41d54b8505abe016bc7d72eea8a789c1f35cdb Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 7 Jan 2024 13:43:50 -0700 Subject: [PATCH] Fix old-compiler warning --- src/hb-ot-layout.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ot-layout.cc b/src/hb-ot-layout.cc index 2eb8535db..a4c13abad 100644 --- a/src/hb-ot-layout.cc +++ b/src/hb-ot-layout.cc @@ -2127,7 +2127,7 @@ hb_ot_layout_get_font_extents (hb_font_t *font, hb_tag_t language_tag, hb_font_extents_t *extents) { - hb_position_t min, max; + hb_position_t min = 0, max = 0; if (font->face->table.BASE->get_min_max (font, direction, script_tag, language_tag, HB_TAG_NONE, &min, &max)) {