[libgda/LIBGDA_4.2] Initialize GError to NULL



commit 388bff73f34e3c64cf40659e3769d9ea4eea61eb
Author: Vivien Malerba <malerba gnome-db org>
Date:   Thu Jun 2 13:35:00 2011 +0200

    Initialize GError to NULL

 tools/browser/ldap-browser/entry-properties.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tools/browser/ldap-browser/entry-properties.c b/tools/browser/ldap-browser/entry-properties.c
index c534e71..43367e7 100644
--- a/tools/browser/ldap-browser/entry-properties.c
+++ b/tools/browser/ldap-browser/entry-properties.c
@@ -223,7 +223,7 @@ data_save_cb (GtkWidget *mitem, EntryProperties *eprop)
 	if (gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_ACCEPT) {
 		char *filename;
 		GValue *binvalue;
-		GError *lerror;
+		GError *lerror = NULL;
 		const GdaBinary *bin = NULL;
 
 		filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (dialog));



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