textview: Remove a dead store
authorMatthias Clasen <mclasen@redhat.com>
Sat, 18 Sep 2021 02:05:22 +0000 (22:05 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 18 Sep 2021 02:06:21 +0000 (22:06 -0400)
Pointed out by clang.

gtk/gtktextview.c

index bb449e9e2bc4c0ba4a699cd0da986b154d1f5a49..dd930c64b536c0fa142105cb9470c61b31bae151 100644 (file)
@@ -7705,7 +7705,6 @@ gtk_text_view_set_attributes_from_style (GtkTextView        *text_view,
 
   decoration_line = _gtk_css_text_decoration_line_value_get (style->font_variant->text_decoration_line);
   decoration_style = _gtk_css_text_decoration_style_value_get (style->font_variant->text_decoration_style);
-  color = gtk_css_color_value_get_rgba (style->core->color);
   decoration_color = gtk_css_color_value_get_rgba (style->font_variant->text_decoration_color
                                                    ? style->font_variant->text_decoration_color
                                                    : style->core->color);