From 2e85b314e2694221b5ed007eda3c3ecf6a00878e Mon Sep 17 00:00:00 2001 From: Anders Carlsson Date: Tue, 9 Apr 2002 12:05:37 +0000 Subject: [PATCH] Initialize error to NULL. 002-04-09 Anders Carlsson * gtk/gtkfilesel.c (open_new_dir): Initialize error to NULL. --- ChangeLog | 4 ++++ ChangeLog.pre-2-10 | 4 ++++ ChangeLog.pre-2-2 | 4 ++++ ChangeLog.pre-2-4 | 4 ++++ ChangeLog.pre-2-6 | 4 ++++ ChangeLog.pre-2-8 | 4 ++++ gtk/gtkfilesel.c | 2 +- 7 files changed, 25 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 41714d7325..1e5a634059 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2002-04-09 Anders Carlsson + + * gtk/gtkfilesel.c (open_new_dir): Initialize error to NULL. + 2002-04-08 Manish Singh * tests/testgtk.c: really revert testgtk.c diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 41714d7325..1e5a634059 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,7 @@ +2002-04-09 Anders Carlsson + + * gtk/gtkfilesel.c (open_new_dir): Initialize error to NULL. + 2002-04-08 Manish Singh * tests/testgtk.c: really revert testgtk.c diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 41714d7325..1e5a634059 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,7 @@ +2002-04-09 Anders Carlsson + + * gtk/gtkfilesel.c (open_new_dir): Initialize error to NULL. + 2002-04-08 Manish Singh * tests/testgtk.c: really revert testgtk.c diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 41714d7325..1e5a634059 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,7 @@ +2002-04-09 Anders Carlsson + + * gtk/gtkfilesel.c (open_new_dir): Initialize error to NULL. + 2002-04-08 Manish Singh * tests/testgtk.c: really revert testgtk.c diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 41714d7325..1e5a634059 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,7 @@ +2002-04-09 Anders Carlsson + + * gtk/gtkfilesel.c (open_new_dir): Initialize error to NULL. + 2002-04-08 Manish Singh * tests/testgtk.c: really revert testgtk.c diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 41714d7325..1e5a634059 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,7 @@ +2002-04-09 Anders Carlsson + + * gtk/gtkfilesel.c (open_new_dir): Initialize error to NULL. + 2002-04-08 Manish Singh * tests/testgtk.c: really revert testgtk.c diff --git a/gtk/gtkfilesel.c b/gtk/gtkfilesel.c index 9b85942730..2fcfbee405 100644 --- a/gtk/gtkfilesel.c +++ b/gtk/gtkfilesel.c @@ -2924,7 +2924,7 @@ open_new_dir (gchar *dir_name, CompletionDirSent *sent; GDir *directory; const char *dirent; - GError *error; + GError *error = NULL; gint entry_count = 0; gint n_entries = 0; gint i;