From 6390bd1ab778816a414f62958ae3db4cec6fa230 Mon Sep 17 00:00:00 2001 From: Sivaiah Nallagatla Date: Mon, 31 Jan 2005 18:34:41 +0000 Subject: initialize GError* to NULL Fixes #71512 2005-01-31 Sivaiah Nallagatla * gaimbuddies.c (bbdb_sync_buddy_list) : initialize GError* to NULL Fixes #71512 * bbdb.c (bbdb_open_addressbook) : ditto svn path=/trunk/; revision=28636 --- plugins/bbdb/ChangeLog | 8 ++++++++ plugins/bbdb/bbdb.c | 2 +- plugins/bbdb/gaimbuddies.c | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) (limited to 'plugins/bbdb') 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 + + * gaimbuddies.c (bbdb_sync_buddy_list) : initialize + GError* to NULL + Fixes #71512 + + * bbdb.c (bbdb_open_addressbook) : ditto + 2005-01-22 Nat Friedman * 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) -- cgit v1.2.3