From b81db8d3d82af7a369a2b26ec35dcec81060a965 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 19 Jan 2023 08:19:04 -0500 Subject: [PATCH] Avoid a compiler warning --- src/hb-cairo.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-cairo.cc b/src/hb-cairo.cc index 074bb79be..15f804a73 100644 --- a/src/hb-cairo.cc +++ b/src/hb-cairo.cc @@ -312,9 +312,9 @@ hb_cairo_paint_custom_palette_color (hb_paint_funcs_t *funcs, unsigned int color_index, void *user_data HB_UNUSED) { +#ifdef CAIRO_COLOR_PALETTE_CUSTOM cairo_t *cr = (cairo_t *) paint_data; -#ifdef CAIRO_COLOR_PALETTE_CUSTOM cairo_font_options_t *options; double red, green, blue, alpha;