From eaee5416cf5a05d6dbf65132a62383838b1343bd Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 6 Jul 2020 17:18:43 +0200 Subject: [PATCH] Remove unused PangoContext variable from X11 code It's has been there since basically always, but seems to never have been used, so remove it to avoid warnings. --- src/x11/pango_x.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/x11/pango_x.cpp b/src/x11/pango_x.cpp index f7b7903558..41d320224b 100644 --- a/src/x11/pango_x.cpp +++ b/src/x11/pango_x.cpp @@ -96,12 +96,9 @@ x11_draw_layout_line_with_colors( Drawable drawable, PangoRectangle overall_rect; PangoRectangle logical_rect; PangoRectangle ink_rect; - PangoContext *context; gint x_off = 0; gint rise = 0; - context = pango_layout_get_context (line->layout); - pango_layout_line_get_extents (line,NULL, &overall_rect); GSList *tmp_list = line->runs;