summaryrefslogtreecommitdiff
path: root/pango/opentype/hb-ot-layout-gdef-private.hh
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2010-04-19 02:29:04 -0400
committerBehdad Esfahbod <behdad@behdad.org>2010-04-19 02:35:05 -0400
commit5383831f1c73eaed7696fddad3e2fb823858a8ff (patch)
tree3864f05a4812ceca9f40d431350877aacf77afeb /pango/opentype/hb-ot-layout-gdef-private.hh
parent52ab3d508ad900cc435aa6529cd4a333db43af78 (diff)
downloadpango-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.hh4
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 +