From 3a88f55c15b625a0ad10fbfadf4562bcbb41ae53 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 15 Apr 2019 11:59:57 -0400 Subject: [PATCH] Move location of HB_UNUSED to make MSVC happy --- src/hb-subset.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-subset.cc b/src/hb-subset.cc index 4362eef60..4c7fbf92b 100644 --- a/src/hb-subset.cc +++ b/src/hb-subset.cc @@ -47,9 +47,9 @@ #include "hb-ot-layout-gpos-table.hh" -static HB_UNUSED unsigned int +static unsigned int _plan_estimate_subset_table_size (hb_subset_plan_t *plan, - unsigned int table_len) + unsigned int table_len) HB_UNUSED { unsigned int src_glyphs = plan->source->get_num_glyphs (); unsigned int dst_glyphs = plan->glyphset ()->get_population ();