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



commit 9f83204d48c40b4a334c1e1a6e68958571ad153e
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 5cd8747..62895d4 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]