From 3fd6c0d97aa33758005a45a3c8d8bd98f8e79df8 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 8 Jan 2023 12:30:26 -0700 Subject: [PATCH] [test-paint] Remove unused FT_Library --- test/api/test-paint.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/test/api/test-paint.c b/test/api/test-paint.c index b06f4cdb1..8f023611b 100644 --- a/test/api/test-paint.c +++ b/test/api/test-paint.c @@ -302,10 +302,6 @@ static paint_test_t paint_tests[] = { { ROCHER_ABC, 120, 0, 3, 200, "rocher-120-0-3" }, }; -#ifdef HB_HAS_FREETYPE -static FT_Library library; -#endif - static void test_hb_paint (gconstpointer d, hb_bool_t use_ft) @@ -541,10 +537,6 @@ main (int argc, char **argv) { int status = 0; -#ifdef HB_HAS_FREETYPE - FT_Init_FreeType (&library); -#endif - hb_test_init (&argc, &argv); for (unsigned int i = 0; i < G_N_ELEMENTS (paint_tests); i++) {