test/api/test-set.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
New commits: commit cb6c6b0c425e560f32b297c15dc6775e297d5b1d Author: Behdad Esfahbod <beh...@behdad.org> Date: Thu Oct 26 11:43:33 2017 -0600 Fix warning https://github.com/behdad/harfbuzz/commit/49a41dc75931cc2d2f7e74b7801f8cc327039e8e#commitcomment-25203194 diff --git a/test/api/test-set.c b/test/api/test-set.c index d9cb1b01..afc473d7 100644 --- a/test/api/test-set.c +++ b/test/api/test-set.c @@ -89,11 +89,12 @@ test_set_basic (void) hb_set_destroy (s); } -static void +static inline void print_set (hb_set_t *s) { + hb_codepoint_t next; printf ("{"); - for (hb_codepoint_t next = HB_SET_VALUE_INVALID; hb_set_next (s, &next); ) + for (next = HB_SET_VALUE_INVALID; hb_set_next (s, &next); ) printf ("%d, ", next); printf ("}\n"); } _______________________________________________ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/harfbuzz