diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2010-04-19 02:29:04 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2010-04-19 02:35:05 -0400 |
commit | 5383831f1c73eaed7696fddad3e2fb823858a8ff (patch) | |
tree | 3864f05a4812ceca9f40d431350877aacf77afeb /pango/opentype/hb-ot-layout-gdef-private.hh | |
parent | 52ab3d508ad900cc435aa6529cd4a333db43af78 (diff) | |
download | pango-5383831f1c73eaed7696fddad3e2fb823858a8ff.tar.gz |
[HB] Fix warnings
Diffstat (limited to 'pango/opentype/hb-ot-layout-gdef-private.hh')
-rw-r--r-- | pango/opentype/hb-ot-layout-gdef-private.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/opentype/hb-ot-layout-gdef-private.hh b/pango/opentype/hb-ot-layout-gdef-private.hh index 69f90fec..f6480542 100644 --- a/pango/opentype/hb-ot-layout-gdef-private.hh +++ b/pango/opentype/hb-ot-layout-gdef-private.hh @@ -87,7 +87,7 @@ struct CaretValueFormat1 friend struct CaretValue; private: - inline int get_caret_value (hb_ot_layout_context_t *context, hb_codepoint_t glyph_id) const + inline int get_caret_value (hb_ot_layout_context_t *context, hb_codepoint_t glyph_id HB_GNUC_UNUSED) const { /* TODO vertical */ return context->font->x_scale * coordinate / 0x10000; @@ -129,7 +129,7 @@ struct CaretValueFormat3 { friend struct CaretValue; - inline int get_caret_value (hb_ot_layout_context_t *context, hb_codepoint_t glyph_id) const + inline int get_caret_value (hb_ot_layout_context_t *context, hb_codepoint_t glyph_id HB_GNUC_UNUSED) const { /* TODO vertical */ return context->font->x_scale * coordinate / 0x10000 + |