[libgd] two-lines-renderer: Don't read uninitialized values



commit 932a0e5a802d0046d769ba050e450830b032b12a
Author: Debarshi Ray <debarshir gnome org>
Date:   Fri Oct 23 14:39:20 2015 +0200

    two-lines-renderer: Don't read uninitialized values
    
    https://bugzilla.gnome.org/show_bug.cgi?id=757020

 libgd/gd-two-lines-renderer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgd/gd-two-lines-renderer.c b/libgd/gd-two-lines-renderer.c
index 67f73ed..85faaf3 100644
--- a/libgd/gd-two-lines-renderer.c
+++ b/libgd/gd-two-lines-renderer.c
@@ -87,7 +87,7 @@ apply_subtitle_style_to_layout (GtkStyleContext *context,
                                 GtkStateFlags    flags)
 {
   PangoFontDescription *desc;
-  GdkRGBA rgba;
+  GdkRGBA rgba = {0.0, 0.0, 0.0, 0.0};
   PangoAttrList *layout_attr;
   PangoAttribute *attr_color;
 


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