[libgd] toggle-pixbuf-renderer: Remove redundant code



commit 0e234aaea9347600606896220facf79de721943b
Author: Debarshi Ray <debarshir gnome org>
Date:   Sat Oct 6 17:56:55 2018 +0200

    toggle-pixbuf-renderer: Remove redundant code
    
    There's no need to initialize an unsigned integer private member
    variable to zero, because the entire struct is zero-initialized by
    GObject.
    
    Fallout from 4b7f3139345adee740adc0a4e5bf74d9b7d22d0f

 libgd/gd-toggle-pixbuf-renderer.c | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/libgd/gd-toggle-pixbuf-renderer.c b/libgd/gd-toggle-pixbuf-renderer.c
index 210ebbf..ac6a6c3 100644
--- a/libgd/gd-toggle-pixbuf-renderer.c
+++ b/libgd/gd-toggle-pixbuf-renderer.c
@@ -261,7 +261,6 @@ gd_toggle_pixbuf_renderer_init (GdTogglePixbufRenderer *self)
 {
   self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self, GD_TYPE_TOGGLE_PIXBUF_RENDERER,
                                             GdTogglePixbufRendererPrivate);
-  self->priv->pulse = 0;
 }
 
 GtkCellRenderer *


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