[gtk/static-analysis-fixes: 4/4] textview: Remove a dead store




commit 9cfce67d0ffb013aea0597f90320d29d81a07a91
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Sep 17 22:05:22 2021 -0400

    textview: Remove a dead store
    
    Pointed out by clang.

 gtk/gtktextview.c | 1 -
 1 file changed, 1 deletion(-)
---
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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]