[gtk+/gtk-3-0] bgo#653191 - fix uninitialized variable in gtk_file_chooser_entry.c



commit daf4d9551af9a31941835c0b47bc95702420e1ad
Author: Mike Gorse <mgorse novell com>
Date:   Wed Jun 22 15:23:15 2011 -0500

    bgo#653191 - fix uninitialized variable in gtk_file_chooser_entry.c

 gtk/gtkfilechooserentry.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkfilechooserentry.c b/gtk/gtkfilechooserentry.c
index 4ac71ed..d54bb8a 100644
--- a/gtk/gtkfilechooserentry.c
+++ b/gtk/gtkfilechooserentry.c
@@ -369,7 +369,7 @@ completion_match_func (GtkEntryCompletion *comp,
 		       gpointer            data)
 {
   GtkFileChooserEntry *chooser_entry;
-  char *name;
+  char *name = NULL;
   gboolean result;
   char *norm_file_part;
   char *norm_name;



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