Move location of HB_UNUSED to make MSVC happy

This commit is contained in:
Behdad Esfahbod 2019-04-15 11:59:57 -04:00
parent 1ae265888e
commit 3a88f55c15
1 changed files with 2 additions and 2 deletions

View File

@ -47,9 +47,9 @@
#include "hb-ot-layout-gpos-table.hh" #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, _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 src_glyphs = plan->source->get_num_glyphs ();
unsigned int dst_glyphs = plan->glyphset ()->get_population (); unsigned int dst_glyphs = plan->glyphset ()->get_population ();