From 40fa046cf311718665496d0516495e9c139221ba Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 12 Feb 2023 10:54:07 -0700 Subject: [PATCH] [hb-info] Declare a variable unused Fixes https://github.com/harfbuzz/harfbuzz/issues/4115 --- util/hb-info.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/hb-info.cc b/util/hb-info.cc index b3a8b35eb..e514f9055 100644 --- a/util/hb-info.cc +++ b/util/hb-info.cc @@ -846,7 +846,7 @@ struct info_t : hb_set_next (unicodes, &u);) { hb_codepoint_t gid = 0; - bool b = hb_font_get_variation_glyph (font, u, vs, &gid); + HB_UNUSED bool b = hb_font_get_variation_glyph (font, u, vs, &gid); assert (b); char glyphname[64];