[test] Fix -Wunused-parameter on test-font.c
authorEbrahim Byagowi <ebrahim@gnu.org>
Sat, 20 Oct 2018 19:53:32 +0000 (23:23 +0330)
committerGitHub <noreply@github.com>
Sat, 20 Oct 2018 19:53:32 +0000 (23:23 +0330)
test/api/test-font.c

index 5ceb131..3d81cf9 100644 (file)
@@ -367,7 +367,7 @@ test_fontfuncs_subclassing (void)
 static hb_bool_t
 nominal_glyph_func (hb_font_t *font HB_UNUSED,
                    void *font_data HB_UNUSED,
-                   hb_codepoint_t unicode,
+                   hb_codepoint_t unicode HB_UNUSED,
                    hb_codepoint_t *glyph,
                    void *user_data HB_UNUSED)
 {