提交 f53627e1 编写于 作者: B Behdad Esfahbod

[test] Fix warning

上级 8c3612af
......@@ -38,6 +38,7 @@ static const char test_data[] = { 0, 1, 0, 0, /* sfntVersion */
static void
test_subset (void)
{
unsigned int output_length;
hb_blob_t *font_blob = hb_blob_create(test_data, sizeof(test_data),
HB_MEMORY_MODE_READONLY, NULL, NULL);
hb_face_t *face = hb_face_create(font_blob, 0);
......@@ -53,7 +54,6 @@ test_subset (void)
g_assert(out_face != hb_face_get_empty ());
output = hb_face_reference_blob (out_face);
unsigned int output_length;
const char *output_data = hb_blob_get_data(output, &output_length);
g_assert_cmpmem (test_data, sizeof (test_data), output_data, output_length);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册