[gnome-control-center] display: Silence -Wmaybe-uninitialized



commit 531989217e7c4e3aeed4b8650cfd239acc9dcfb1
Author: Debarshi Ray <debarshir gnome org>
Date:   Mon Sep 9 16:13:44 2013 +0200

    display: Silence -Wmaybe-uninitialized

 panels/display/cc-display-panel.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/display/cc-display-panel.c b/panels/display/cc-display-panel.c
index 57e4584..9365804 100644
--- a/panels/display/cc-display-panel.c
+++ b/panels/display/cc-display-panel.c
@@ -1763,7 +1763,7 @@ static void
 show_setup_dialog (CcDisplayPanel *panel)
 {
   CcDisplayPanelPrivate *priv = panel->priv;
-  GtkWidget *dialog, *listbox, *content_area, *item, *box, *frame, *preview;
+  GtkWidget *dialog, *listbox = NULL, *content_area, *item, *box, *frame, *preview;
   GtkWidget *label, *rotate_box, *grid;
   gint i, width_mm, height_mm, old_width, old_height;
   GnomeRROutput *output;


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