[gnome-control-center] sharing: Fix compile time warning



commit 4e4fd87c45d03e23b0c1ca31b1f431b7542e531d
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Nov 14 23:55:04 2013 +0100

    sharing: Fix compile time warning
    
    Another warning in cc_sharing_panel_add_folder()

 panels/sharing/cc-sharing-panel.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/panels/sharing/cc-sharing-panel.c b/panels/sharing/cc-sharing-panel.c
index 8947e80..db0089b 100644
--- a/panels/sharing/cc-sharing-panel.c
+++ b/panels/sharing/cc-sharing-panel.c
@@ -417,7 +417,7 @@ cc_sharing_panel_add_folder (GtkWidget      *button,
   gchar *folder;
   GtkTreeIter iter;
   gboolean valid;
-  gboolean matching;
+  gboolean matching = FALSE;
 
   dialog = gtk_file_chooser_dialog_new (_("Choose a Folder"),
                                         GTK_WINDOW (gtk_widget_get_toplevel (button)),


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