Fix warning

49a41dc759 (commitcomment-25203194)
This commit is contained in:
Behdad Esfahbod 2017-10-26 11:43:33 -06:00
parent dfd234a97d
commit cb6c6b0c42
1 changed files with 3 additions and 2 deletions

View File

@ -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");
}