]> git.0d.be Git - empathy.git/blobdiff - libempathy/empathy-utils.c
Initialize every GError to NULL. Fixes bug #482889.
[empathy.git] / libempathy / empathy-utils.c
index e354e940d64594138125490f036b29f6816975af..032b121ea66295039e4d981988caeda4998bf3b8 100644 (file)
@@ -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));