aboutsummaryrefslogtreecommitdiff
path: root/src/hb-ot-layout.cc
diff options
context:
space:
mode:
authorJohn Comito <jcomito@google.com>2024-03-13 16:40:57 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2024-03-13 16:40:57 +0000
commitd36d77e7415d4b8dd634f1c54fbefd893ecb4171 (patch)
tree0203081c522e2034b6e328dfaaece46445ea890c /src/hb-ot-layout.cc
parent620ce3a4d8bc163b9533541e0bcebdb65d75b8a4 (diff)
parent76c8225dd6015b5b8fe880e53d820bd91a5aa2b8 (diff)
downloadharfbuzz_ng-d36d77e7415d4b8dd634f1c54fbefd893ecb4171.tar.gz
Merge "Fixing compiler warnings" into main
Diffstat (limited to 'src/hb-ot-layout.cc')
-rw-r--r--src/hb-ot-layout.cc2
1 files changed, 1 insertions, 1 deletions
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))
{