summaryrefslogtreecommitdiff
path: root/pango/opentype/hb-ot-layout-gsubgpos-private.hh
diff options
context:
space:
mode:
Diffstat (limited to 'pango/opentype/hb-ot-layout-gsubgpos-private.hh')
-rw-r--r--pango/opentype/hb-ot-layout-gsubgpos-private.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/pango/opentype/hb-ot-layout-gsubgpos-private.hh b/pango/opentype/hb-ot-layout-gsubgpos-private.hh
index 13e74759..0bb96a41 100644
--- a/pango/opentype/hb-ot-layout-gsubgpos-private.hh
+++ b/pango/opentype/hb-ot-layout-gsubgpos-private.hh
@@ -36,7 +36,7 @@
#endif
#if HB_DEBUG_APPLY
-#define TRACE_APPLY_ARG_DEF , unsigned int apply_depth
+#define TRACE_APPLY_ARG_DEF , unsigned int apply_depth HB_GNUC_UNUSED
#define TRACE_APPLY_ARG , apply_depth + 1
#define TRACE_APPLY_ARG_INIT , 1
#define TRACE_APPLY() \
@@ -59,7 +59,7 @@
hb_buffer_t *buffer, \
unsigned int context_length HB_GNUC_UNUSED, \
unsigned int nesting_level_left HB_GNUC_UNUSED, \
- unsigned int lookup_flag, \
+ unsigned int lookup_flag HB_GNUC_UNUSED, \
unsigned int property HB_GNUC_UNUSED /* propety of first glyph */ \
TRACE_APPLY_ARG_DEF
#define APPLY_ARG \
@@ -90,7 +90,7 @@ struct ContextFuncs
};
-static inline bool match_glyph (hb_codepoint_t glyph_id, const USHORT &value, char *data)
+static inline bool match_glyph (hb_codepoint_t glyph_id, const USHORT &value, char *data HB_GNUC_UNUSED)
{
return glyph_id == value;
}