summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-09-17 22:05:22 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-09-17 22:06:21 -0400
commit9cfce67d0ffb013aea0597f90320d29d81a07a91 (patch)
tree359bb015e379e29816387d7928253ec6328556ba
parent295d40620731d89bcdcfaf0c80f748654a730d27 (diff)
downloadgtk+-9cfce67d0ffb013aea0597f90320d29d81a07a91.tar.gz
textview: Remove a dead store
Pointed out by clang.
-rw-r--r--gtk/gtktextview.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c
index bb449e9e2b..dd930c64b5 100644
--- a/gtk/gtktextview.c
+++ b/gtk/gtktextview.c
@@ -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);