Initialize error to NULL.

002-04-09  Anders Carlsson  <andersca@gnu.org>

	* gtk/gtkfilesel.c (open_new_dir): Initialize error to NULL.
This commit is contained in:
Anders Carlsson 2002-04-09 12:05:37 +00:00 committed by Anders Carlsson
parent 3bd5fc010a
commit 2e85b314e2
7 changed files with 25 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-04-09 Anders Carlsson <andersca@gnu.org>
* gtk/gtkfilesel.c (open_new_dir): Initialize error to NULL.
2002-04-08 Manish Singh <yosh@gimp.org> 2002-04-08 Manish Singh <yosh@gimp.org>
* tests/testgtk.c: really revert testgtk.c * tests/testgtk.c: really revert testgtk.c

View File

@ -1,3 +1,7 @@
2002-04-09 Anders Carlsson <andersca@gnu.org>
* gtk/gtkfilesel.c (open_new_dir): Initialize error to NULL.
2002-04-08 Manish Singh <yosh@gimp.org> 2002-04-08 Manish Singh <yosh@gimp.org>
* tests/testgtk.c: really revert testgtk.c * tests/testgtk.c: really revert testgtk.c

View File

@ -1,3 +1,7 @@
2002-04-09 Anders Carlsson <andersca@gnu.org>
* gtk/gtkfilesel.c (open_new_dir): Initialize error to NULL.
2002-04-08 Manish Singh <yosh@gimp.org> 2002-04-08 Manish Singh <yosh@gimp.org>
* tests/testgtk.c: really revert testgtk.c * tests/testgtk.c: really revert testgtk.c

View File

@ -1,3 +1,7 @@
2002-04-09 Anders Carlsson <andersca@gnu.org>
* gtk/gtkfilesel.c (open_new_dir): Initialize error to NULL.
2002-04-08 Manish Singh <yosh@gimp.org> 2002-04-08 Manish Singh <yosh@gimp.org>
* tests/testgtk.c: really revert testgtk.c * tests/testgtk.c: really revert testgtk.c

View File

@ -1,3 +1,7 @@
2002-04-09 Anders Carlsson <andersca@gnu.org>
* gtk/gtkfilesel.c (open_new_dir): Initialize error to NULL.
2002-04-08 Manish Singh <yosh@gimp.org> 2002-04-08 Manish Singh <yosh@gimp.org>
* tests/testgtk.c: really revert testgtk.c * tests/testgtk.c: really revert testgtk.c

View File

@ -1,3 +1,7 @@
2002-04-09 Anders Carlsson <andersca@gnu.org>
* gtk/gtkfilesel.c (open_new_dir): Initialize error to NULL.
2002-04-08 Manish Singh <yosh@gimp.org> 2002-04-08 Manish Singh <yosh@gimp.org>
* tests/testgtk.c: really revert testgtk.c * tests/testgtk.c: really revert testgtk.c

View File

@ -2924,7 +2924,7 @@ open_new_dir (gchar *dir_name,
CompletionDirSent *sent; CompletionDirSent *sent;
GDir *directory; GDir *directory;
const char *dirent; const char *dirent;
GError *error; GError *error = NULL;
gint entry_count = 0; gint entry_count = 0;
gint n_entries = 0; gint n_entries = 0;
gint i; gint i;