[libgda] Initialize GError to NULL
- From: Vivien Malerba <vivien src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] Initialize GError to NULL
- Date: Thu, 2 Jun 2011 11:36:47 +0000 (UTC)
commit 848163a20dd634f1873096ff6de780c6f1400de9
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 a94dc1c..23f5dce 100644
--- a/tools/browser/ldap-browser/entry-properties.c
+++ b/tools/browser/ldap-browser/entry-properties.c
@@ -222,7 +222,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]