aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-utils.c
diff options
context:
space:
mode:
authorMarco Barisione <marco@barisione.org>2007-10-04 01:12:26 +0800
committerMarco Barisione <mbari@src.gnome.org>2007-10-04 01:12:26 +0800
commitd72774ce1ae05aa40ad6d8183323deb203155018 (patch)
tree21b4d3d56efe56d252bd30b335283f9805496a98 /libempathy/empathy-utils.c
parent8e87910f8c6842af6f2d060173ebf4bbc08f2ebd (diff)
downloadgsoc2013-empathy-d72774ce1ae05aa40ad6d8183323deb203155018.tar
gsoc2013-empathy-d72774ce1ae05aa40ad6d8183323deb203155018.tar.gz
gsoc2013-empathy-d72774ce1ae05aa40ad6d8183323deb203155018.tar.bz2
gsoc2013-empathy-d72774ce1ae05aa40ad6d8183323deb203155018.tar.lz
gsoc2013-empathy-d72774ce1ae05aa40ad6d8183323deb203155018.tar.xz
gsoc2013-empathy-d72774ce1ae05aa40ad6d8183323deb203155018.tar.zst
gsoc2013-empathy-d72774ce1ae05aa40ad6d8183323deb203155018.zip
Initialize every GError to NULL. Fixes bug #482889.
2007-10-03 Marco Barisione <marco@barisione.org> * libempathy/empathy-contact-factory.c: * libempathy/empathy-tp-call.c: * libempathy/empathy-tp-group.c: * libempathy/empathy-utils.c: Initialize every GError to NULL. Fixes bug #482889. svn path=/trunk/; revision=360
Diffstat (limited to 'libempathy/empathy-utils.c')
-rw-r--r--libempathy/empathy-utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy/empathy-utils.c b/libempathy/empathy-utils.c
index e354e940d..032b121ea 100644
--- a/libempathy/empathy-utils.c
+++ b/libempathy/empathy-utils.c
@@ -427,7 +427,7 @@ empathy_inspect_handle (McAccount *account,
GArray *handles;
gchar **names;
gchar *name;
- GError *error;
+ GError *error = NULL;
g_return_val_if_fail (MC_IS_ACCOUNT (account), NULL);
g_return_val_if_fail (handle != 0, NULL);
@@ -479,7 +479,7 @@ empathy_call_contact (EmpathyContact *contact)
const gchar *bus_name;
TpChan *new_chan;
EmpathyTpGroup *group;
- GError *error;
+ GError *error = NULL;
g_return_if_fail (EMPATHY_IS_CONTACT (contact));