aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorSivaiah Nallagatla <snallagatla@novell.com>2005-02-01 02:34:41 +0800
committerSivaiah Nallagatla <siva@src.gnome.org>2005-02-01 02:34:41 +0800
commit6390bd1ab778816a414f62958ae3db4cec6fa230 (patch)
treee19408bae0f6fbaba9052df8468abc9f5a895c4f /plugins
parent256da97187086c2f89839dd443cf04b20ca557f8 (diff)
downloadgsoc2013-evolution-6390bd1ab778816a414f62958ae3db4cec6fa230.tar
gsoc2013-evolution-6390bd1ab778816a414f62958ae3db4cec6fa230.tar.gz
gsoc2013-evolution-6390bd1ab778816a414f62958ae3db4cec6fa230.tar.bz2
gsoc2013-evolution-6390bd1ab778816a414f62958ae3db4cec6fa230.tar.lz
gsoc2013-evolution-6390bd1ab778816a414f62958ae3db4cec6fa230.tar.xz
gsoc2013-evolution-6390bd1ab778816a414f62958ae3db4cec6fa230.tar.zst
gsoc2013-evolution-6390bd1ab778816a414f62958ae3db4cec6fa230.zip
initialize GError* to NULL Fixes #71512
2005-01-31 Sivaiah Nallagatla <snallagatla@novell.com> * gaimbuddies.c (bbdb_sync_buddy_list) : initialize GError* to NULL Fixes #71512 * bbdb.c (bbdb_open_addressbook) : ditto svn path=/trunk/; revision=28636
Diffstat (limited to 'plugins')
-rw-r--r--plugins/bbdb/ChangeLog8
-rw-r--r--plugins/bbdb/bbdb.c2
-rw-r--r--plugins/bbdb/gaimbuddies.c2
3 files changed, 10 insertions, 2 deletions
diff --git a/plugins/bbdb/ChangeLog b/plugins/bbdb/ChangeLog
index 9e1f60788c..adbf7d1eed 100644
--- a/plugins/bbdb/ChangeLog
+++ b/plugins/bbdb/ChangeLog
@@ -1,3 +1,11 @@
+2005-01-31 Sivaiah Nallagatla <snallagatla@novell.com>
+
+ * gaimbuddies.c (bbdb_sync_buddy_list) : initialize
+ GError* to NULL
+ Fixes #71512
+
+ * bbdb.c (bbdb_open_addressbook) : ditto
+
2005-01-22 Nat Friedman <nat@novell.com>
* gaimbuddies.c (im_list_contains_buddy): Check the buddy account
diff --git a/plugins/bbdb/bbdb.c b/plugins/bbdb/bbdb.c
index 0dbfc40d3c..d1a9619277 100644
--- a/plugins/bbdb/bbdb.c
+++ b/plugins/bbdb/bbdb.c
@@ -233,7 +233,7 @@ bbdb_open_addressbook (void)
gboolean enable;
gboolean status;
- GError *error;
+ GError *error = NULL;
gconf = gconf_client_get_default ();
diff --git a/plugins/bbdb/gaimbuddies.c b/plugins/bbdb/gaimbuddies.c
index 5d9d46e523..fd86bf537d 100644
--- a/plugins/bbdb/gaimbuddies.c
+++ b/plugins/bbdb/gaimbuddies.c
@@ -137,7 +137,7 @@ bbdb_sync_buddy_list (void)
GaimBuddy *b = l->data;
EBookQuery *query;
GList *contacts;
- GError *error;
+ GError *error = NULL;
EContact *c;
if (b->alias == NULL || strlen (b->alias) == 0)