src/hb-fallback-shape.cc | 2 +- src/hb-ot-shape-normalize.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit 1dd630a7f2c2cec780fee507367341bc9050cdb3 Author: Behdad Esfahbod <beh...@behdad.org> Date: Wed Feb 1 11:57:21 2017 -0800 Minor Fixes https://github.com/behdad/harfbuzz/issues/411 diff --git a/src/hb-fallback-shape.cc b/src/hb-fallback-shape.cc index ac6d4b0..e5a80ee 100644 --- a/src/hb-fallback-shape.cc +++ b/src/hb-fallback-shape.cc @@ -125,7 +125,7 @@ _hb_fallback_shape (hb_shape_plan_t *shape_plan HB_UNUSED, pos[i].y_advance = 0; continue; } - font->get_nominal_glyph (info[i].codepoint, &info[i].codepoint); + (void) font->get_nominal_glyph (info[i].codepoint, &info[i].codepoint); font->get_glyph_advance_for_direction (info[i].codepoint, direction, &pos[i].x_advance, diff --git a/src/hb-ot-shape-normalize.cc b/src/hb-ot-shape-normalize.cc index 107617e..94a3d7d 100644 --- a/src/hb-ot-shape-normalize.cc +++ b/src/hb-ot-shape-normalize.cc @@ -91,7 +91,7 @@ compose_unicode (const hb_ot_shape_normalize_context_t *c, static inline void set_glyph (hb_glyph_info_t &info, hb_font_t *font) { - font->get_nominal_glyph (info.codepoint, &info.glyph_index()); + (void) font->get_nominal_glyph (info.codepoint, &info.glyph_index()); } static inline void _______________________________________________ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/harfbuzz